PCBasedControl Section3
PCBasedControl Section3
Programming Language
INTRODUCTION OF PC BASED CONTROL
Sample Output:
Convert temperature in Celsius to Fahrenheit :
---------------------------------------------------
Input the temperature in Celsius : 35
The temperature in Celsius : 35
The temperature in Fahrenheit : 95
Note:
Write a Program to Check Whether a Number Is Prime or Not.
Assignment
1. Write C++ Program to convert a positive number into a negative
number and negative number into a positive number.
Example Output
1
Enter a Negative number
-6
the positive form of the number is
6
2. Write a C++ program to Show grades with marks percentage
using the switch statements. .
85
Grade: A
Example Output #2
95
Grade: A+