Techware Labs Header

Forums have moved

See this announcement for more details, or just go directly there.

  #1  
Old 11-17-2003, 01:05 PM
Blang008
 
Posts: n/a
Default 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.
Reply With Quote
  #2  
Old 11-17-2003, 04:28 PM
Prometheus Prometheus is offline
Chronique Technique
Lab Master Techie
 
Join Date: Sep 2002
Location: Bellingham,WA
Posts: 3,058
Send a message via AIM to Prometheus
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:22 AM. Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum style by ForumMonkeys.