Thread: Help with code
View Single Post
Old 02-04-2004, 06:32 AM   #8 (permalink)
PoteMatic
Registered User
 
So far ive got

So far for my code i have

Quote:
//Variables and Constants
//
//Author: J-Bo

#include <iostream.h>

main()
{
//Part4 - declare variables
int grade. b;//b will be used to hold age
float a;//a will be used to hold temperature

//Part 5 - declare constants
const float TEMPERATURE=72.5;
const int YOUR_AGE=16;

//Part6 - intalize variables
a=TEMPERATURE;
grade=11;
b=YOUR_AGE;


//Part 7 - Display the results

cout <<"I am in grade " << grade << " at Osceola High" << endl


return 0;
}
When compiled i got three errors I cant find um so let me know if you can
PoteMatic is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62