Good evening to all,
For assignment submission, The file name should be your serial number your name (For ex: 501 Azeem); file should be in .DOC /word format only
you submit your assignment (A Division) before the deadline, if you
face any issues you just tell your CR
https://docs.google.com/forms/d/e/1FAIpQLScUedBOW_KK2MgjsOBhUQvcL0-C2m5B4-7AlArDRw6h-Uxu-w/viewform
(For SVV sir SDMCETPG 2024 CAB)
For B Division students - submit your assignment (B Division) before the deadline, if you
face any issues you just tell your CR
https://docs.google.com/forms/d/e/1FAIpQLSdhHY1v--1s9WZvxY9daOEDKwi8KXVt59vhJmjQIp-PRBmM7g/viewform
Assignment 1 Questions given
Q1) Write a c program to print your name, name of the institute and department.
Q2) Write a c program to add two numbers given by the user (read from key board).
Q3) Check if the given number is even or odd
Q4) Write a C program to calculate simple interest.
Q5) Write a C program to find the size of int, float, double and char and print it on the screen.
Q6) Write a C program to Print an integer entered by the user.
Q7) Write a C program for area and perimeter of rectangle.
Q8) Write a C program to convert given hours to days.
Q9) Write a C program to convert an octal number to decimal number.
Q10) Write a C program to find factorial of a number.
Q11) Write a C program to read two integers and perform the addition, subtraction,
multiplication and division.
Q12) Read a mark of a student out of 100 and print the result as first class, second class ....
Q13) Write a C program to calculate the percentage scored by a SSLC student (Read marks)
Q14) write a C program to calculate a^b for a given a and b inputs.
Q15) write a c program to find the greatest of three numbers entered by the user.
Q16) write a C program to find the average of n numbers.
Q17) write a C program to calculate BMI of a person (Given: BMI = Weight(kg)/(Height in
meters)^2)
Q18) Write a C program to check If the number is positive, negative or zero.
Q19) Write a C program to convert Fahrenheit to Celsius
Q20) Accept an age and check if they are eligible for voting or no (hint: using if condition,
age>=18)
Q21) Write a C program to convert given number of kilobytes into bytes.
Note:
Avoid putting blank spaces between two lines. Keep proper indentation.
Print the statement of the problem in one line as a program output.
In result your name, time execution should be printed.
For all the variables put first character of your name as last character.
Ex: Your name is Azeem, if you want to declare Fahrenheit as variable you should declare it as fahrenheitA.