Homework help

jo5h

Daemon Poster
Messages
1,034
This is my homework for programming using visal logic... im kinda lost maybe you guys could help me

Assignment...

Using Visual logic, design and implement a program that does the following:

Write a program that will input two values. The program should display the sum, difference, quotient, product, and average of the two numbers.

All input and output will use the console.

Use proper design techniques, and appropriate variable names.


I have visual logic.. but the two values things.. im confused
 
heres what i got going so far.. the program finishes w/ out the averages of the two numbers.. but when i put in the average command.. its fails

heres what my flow chart looks like
tttttttt.emf


but heres the error

error.GIF


now i was hopeing if i could get some direction for what i am doing wrong..
 
try average = (number1 + number2)/2 (without the quotes around the 2).
 
ahh i got it... i put in number1number2= number1 + number2 / 2 and that completed the program.. thanks for the help
 
Back
Top Bottom