0% found this document useful (0 votes)
19 views1 page

C Programs for Arithmetic and Evaluation

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views1 page

C Programs for Arithmetic and Evaluation

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1st Problem: Basic Arithmetic Operations

Problem Statement:
Write a program in C that:

1. Asks the user to input two numbers


2. Computes the sum, difference, product, and quotient of the two numbers.
3. Displays all the results.

2nd Problem: Even or Odd Number Checker

Problem Statement:
Write a program in C that asks the user to enter an integer. The program should determine
whether the number is even or odd using a single if-else condition and display the result.

3rd Problem: Grade Evaluation Based on Score

Problem Statement:
Write a C program that evaluates a student's performance based on their score (an integer
between 0 and 100). The program will prompt the user to input the student's score, and based on
the score, it will classify the result into one of the following categories:

 90 and above: "Excellent"


 75 to 89: "Good"
 50 to 74: "Needs Improvement"
 Below 50 "Fail"

You might also like