1. Create a project called Project4A
2. Create 3 String variables called name1, name2, name3
3. Create 3 double variables called test1, test2, test3
4. Use cout and cin to get and print the following data
name1 = “Tom”, name2 = “Mary”, name3 = “Ali”
test1 = 90.1, test2 = 52.1, test3 = 60
5. Ask if the test score
a. greater than 60 print pass
b. less than 60 print fall
c. equals to 60 print in the middle
Comments
Leave a comment