Paper of size A0 has dimensions 1189mm*841mm.Each subsequent size A(n) is defined as A(n-1) cut in half parallel to its shorter sides. Thus paper of size A1 would have dimensions 841mm*594mm.Write a program to calculate and print paper sizes A0, ...Read more
Paper of size A0 has dimensions 1189mm*841mm.Each subsequent size A(n) is defined as A(n-1) cut in half parallel to its shorter sides. Thus paper of size A1 would have dimensions 841mm*594mm.Write a program to calculate and print paper sizes A0, A1, A2,… A8.
Read lessThe length and breath of a rectangle and radius of a circle are input through the keyboard. Write a program to calculate the area and perimeter of the rectangle and the area and circumference of the circle.
The length and breath of a rectangle and radius of a circle are input through the keyboard. Write a program to calculate the area and perimeter of the rectangle and the area and circumference of the circle.
Read lessTemperature of a city in Fahrenheit degrees is input through the keyboard. Write a program to convert this temperature into centigrade degrees.
Temperature of a city in Fahrenheit degrees is input through the keyboard. Write a program to convert this temperature into centigrade degrees.
Read lessIf the marks obtained by a student in five different subjects are input through the keyboard. Write a program to find out the aggregate marks and percentage marks obtained by the student. Assume that the maximum marks that can be ...Read more
If the marks obtained by a student in five different subjects are input through the keyboard. Write a program to find out the aggregate marks and percentage marks obtained by the student. Assume that the maximum marks that can be obtained by a student in each subject is 100.
Read lessThe distance between two cities (km) is input through the keyboard. Write a program to convert and print this distance in meters, feet, inches and centimetres.
The distance between two cities (km) is input through the keyboard. Write a program to convert and print this distance in meters, feet, inches and centimetres.
Read lessMukesh’s basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary.
Mukesh’s basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary.
Read less#include<stdio.h> int main() { int m1, m2, m3 printf(“enter values of marks in 3 subjects”) scanf(“%d%d%d”, & m1, & m2, & m3) printf(“you entered %d%d%d”, m1, m2, m3) }
#include<stdio.h>
int main()
{
int m1, m2, m3
printf(“enter values of marks in 3 subjects”)
scanf(“%d%d%d”, & m1, & m2, & m3)
printf(“you entered %d%d%d”, m1, m2, m3)
}
Read less#include<stdio.h> int main() { int a, b, c; scanf(“%d%d%d”, a, b, c) ; }
#include<stdio. h> int main() { int a=35; float b=3.24; printf(“%d %f %d”, a, b+1.5,235); }
#include<stdio. h>
int main()
{
int a=35; float b=3.24;
printf(“%d %f %d”, a, b+1.5,235);
}
Read less