Techwarelabs Community

Techwarelabs Community (https://www.techwarelabs.com/community/index.php)
-   Software - Applications, Programming, and Games (https://www.techwarelabs.com/community/forumdisplay.php?f=13)
-   -   Need Help!!! (https://www.techwarelabs.com/community/showthread.php?t=4519)

Blang008 11-17-2003 01:05 PM

Need Help!!!
 
Anonymous

I am taking Introduction to Programming with C++ as a student. I have this so-called simple program to write and just need help getting started. I dont quite understand everything in this class. Was wondering if anyone could help me get off on the right foot. This is the instructions bellow. Thanks for any help.


This program will compute the grades of a test where the grade distribution is as follows:

90--100 A
80--89 B
70--79 C
60--69 D
<69 F

You will write a function which will compute the grade. Your program will read the score from the keyboard and will pass to the function. Call the function passing an argument by reference.

Prometheus 11-17-2003 04:28 PM

If Grade = 90--100 then print A
If grade = 80-89 then print B

Im taking VB and C++ and VB are pretty similar

if then statements are usefull

If grade < 69 then print F or ask your teacher for a command


All times are GMT -5. The time now is 11:12 AM.

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.