Similar Collections


This list presents questions about the basic expressions and declarations of C 

questions

Title
Write a C program to print your name, date of birth ,and mobile number
Write a C program to get the C version you are using
Write a C program to print a block F using hash (#), where the F has a height of six characters and width of five and four characters. And also to print a big \'C\'
Write a C program to print the following characters in a reverse way
Write a C program to compute the perimeter and area of a rectangle with a height of 7 inches, and width of 5 inches
Write a C program to compute the perimeter and area of a circle with a given radius
Write a C program to display multiple variables
Write a C program to convert specified days into years, weeks and days
Write a C program that accepts two integers from the user and calculate the sum of the two integers
Write a C program that accepts two integers from the user and calculate the product of the two integers
Write a C program that accepts two item’s weight (floating points' values ) and number of purchase (floating points' values) and calculate the average value of the items
Write a C program that accepts an employee's ID, total worked hours of a month and the amount he received per hour. Print the employee's ID and salary (with two decimal places) of a particular month
Write a C program that accepts three integers and find the maximum of three
Write a C program to calculate a bike’s average consumption from the given total distance (integer value) traveled (in km) and spent fuel (in liters, float number – 2 decimal point)
Write a C program to calculate the distance between the two points
Write a C program to read an amount (integer value) and break the amount into smallest possible number of bank notes
Write a C program to convert a given integer (in seconds) to hours, minutes and seconds
Write a C program to convert a given integer (in days) to years, months and days, assumes that all months have 30 days and all years have 365 days
Write a C program that accepts 4 integers p, q, r, s from the user where q, r and s are positive and p is even. If q is greater than r and s is greater than p and if the sum of r and s is greater than the sum of p and q print "Correct values", otherwise print "Wrong values"
Write a C program to print the roots of Bhaskara’s formula from the given three floating numbers. Display a message if it is not possible to find the roots
total questions: 30

Questions

30

Views

458

Best Answers

299

Points

5