« first day (734 days earlier)      last day (1694 days later) » 

12:00 AM
1 message moved from Lounge<C++>
 
 
14 hours later…
user1357851
2:12 PM
 
Xeo
1 message moved from Lounge<C++>
 
user1357851
 
Xeo
1 message moved from Lounge<C++>
 
3:00 PM
(c) Write a VB program that prompts the user to input marks of four (04) subjects, then calculates the summation and the average of these marks, and finally print the results.
I have this question
related to VB
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim userinput As String
Dim Sub1, Sub2, Sub3, Sub4 As Integer
Dim sum As Integer
Dim Avg As Integer


userinput = InputBox("Enter Marks of First Subject", Sub1)
userinput = InputBox("Enter Marks of Second Subject", Sub2)
userinput = InputBox("Enter Marks of 3rd Subject)", Sub3)
userinput = InputBox("Enter Marks of 4th Subject", Sub4)
sum = Sub1 + Sub2 + Sub3 + Sub4
Avg = sum / 4

MessageBox.Show("And the sum is ", sum)
 
Xeo
4 messages moved from Lounge<C++>
 
Hello Every body
I have a question about VB
 
Xeo
2 messages moved from Lounge<C++>
 
 
2 hours later…
5:28 PM
I've a quick question and I hope someone could help me with it. how to compare 2 consecutive elements in a vector on while inserting
 
1 message moved from Lounge<C++>
 
 
2 hours later…
user142019
7:14 PM
 
1 message moved from Lounge<C++>
 
 
2 hours later…
Neo
9:20 PM
Sorry to ask this here but I figured C++ programmers are old school and experienced I was assembling a computer and I forgot to turn the Power Supplu off I just accidentally hit the fan with the tip of my index and it. The fan was made of plastic and connected to a 12V. I feel numb in the finger. It feels like a electric shock. Can it be? Do I need to be concerned?
 
1 message moved from Lounge<C++>
 
 
2 hours later…
10:58 PM
@cicada, I'm now running on Ubuntu
@circada, I've tried using the same semaphore pointer, as well as using sem_open() to open another one
@circada, same results, no printout after any semaphore operation.
@circada, my mind is blown right now x_x
lol, sorry!
 
5 messages moved from Lounge<C++>
 
@sehe plink
 
@Code-Guru Shh
 
@sehe plink
 
@Code-Guru s/i/o/
 
11:06 PM
10 messages moved from Lounge<C++>
 
user142019
 
1 message moved from Lounge<C++>
 

« first day (734 days earlier)      last day (1694 days later) »