Running c program using ms-visual c++

Running c program using ms-visual c++ 

Visual C++ is one of the most powerful and popular general-purpose programming languages. It is an extension of C / C++ programming language. Microsoft’s Visual C++ is an Integrated Development Environment, or IDE. Microsoft Visual C++ has always been one of the most comprehensive and sophisticated software development environments available. 

It has consistently provided a high level of programming power and convenience, while offering a diverse set of tools designed to suit almost every programming style. 

Starting Microsoft Visual C++ 6.0 
1. On desktop, click on the Start button. 
2. Select Microsoft Visual Studio 6.0 option. 
             3.  Select Microsoft Visual C++6.0 option.
          The four steps in the program development life cycle are: 
            • Design algorithm 
• Draw flowchart 
• Program coding 
• Testing for various inputs 

Example 
Represent the complete steps in the program development life cycle that reads the number of letter grades A, B, C, D and F for a student. The program will compute and print the student’s grade point average. It should then determine and print the student’s academic standing (like high honors, honors, satisfactory, or probation) according to the following table: 
Grade Point Average 
Academic Standing 
3.51 - 4.00  High Honors 
3.00 - 3.50  Honors 
2.00 - 2.99  Satisfactory 
Less than 2.00  Probation 
Note: In computing grade point average, assume that the weight of letter grade 
A is 4, B is 3, C is 2, D is 1 and f is 0. 

Step 1: Design the algorithm / pseudocode for the given problem 
Print “Please enter your number of subject that your taken last semester” 
Set CorrectStatusInput “no” 
Print “Enter the number of grade A” 
Read number_of_ A 
Print “Enter the number of grade B” 
Read number_ of_B 
Print “Enter the number of grade C” 
Read number_of_C 
Print “Enter the number of grade D” 
Read number_of_D 
Print “Enter the number of grade F” 
Read number_of_F 
Compute Total subject = number of grade A + number of grade B + number of grade C + number of grade D + number of grade F 
while CorrectStatusInput “no” and Total subject < =0 
begin 
print “Enter number of grade A” 
read number of A 
print “Enter number of grade B” 
read number of B 
print “Enter number of grade C” 
read number of C 
print “Enter number of grade D” 
read number of D 
print “Enter number of grade F” 
read number of F 
if (number_of_A greater than and equal 0 and number_of_B greater 
than and equal 0 and number_of_C greater than and equal 0 and 
number_of_ D greater than and equal 0 and number_of_F greater 
than 0) and ( Total_subject >0) 
set CorrectStatusInput “yes” 
end if 
end 
end while 
compute Total_point = number of grade A * 4 + number of grade B *3 + 
number of grade C*2 + number of grade D *1 + 
number of grade F *0 
compute Total_average = Total point / Total subject 
print Total_average 
if Total_ average less than 2 
print “ Your academic standing is Probation” 
else 
if Total_average less than 3 
print “ Your academic standing is Satisfactory” 
else 
if Total_average less than or equal 3.5 
print “ Your academic standing is Honors” 
else 
if Total_average less than or equal 4.00 
print “ Your academic standing is High Honors” 
end_if 
end_if

For students studying computer programming subject, it is necessary for them to get the online assignment help from the experts in this field. By getting online assignment help, students can solve the most difficult programs with the help of experts and they also can get online help from the experts regarding this subject.

Comments