Blog

Small text message

Powered by Blogger.

About Me

My Photo
Jesus Ventura
View my complete profile

Followers

Laboratory Activities for Comed3

Sunday, November 21, 2010 - - 0 Comments

Choose one problem to solve. (FileName: Act10.cpp)
Send your .cpp file to dianetictc@gmail.com
Subject: ACT10 FULLNAME

1. Write a program that will compute and display the Midterm Exam grade of a student. The midterm grade is equal to one-third of the minor A exam and two-thirds of the minor B exam.

Sample Output:

Enter Student Name: Eon
Enter Minor A Exam Grade: 85
Enter Minor B Exam Grade: 79


Hello Eon
Your Exam grade is: 81.000

2. Create a program that converts a Fahrenheit measure to Celsius measure, using the formula:

C = 5/9 * (F - 32)

Sample Output:

Enter Fahrenheit value: 38.78

38.78 F is equal to 3.77 C

This entry was posted on 8:35 PM You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

0 comments: