Q1) Write program, to allow the user to enter tow integer numbers, and find the sum, and subtraction and the multiplication of these numbers. Q2)What are the output of the following program?  #include   int main() {      int  sum, d;      printf(" *******WELCOME******* \n");      sum = 1 + 2 + 3 + 4 + 5 + 6;      d = 8;      printf("The Sum=%d\n", sum);      printf("%d\n",d);      printf("*******THANK YOU*******"); } Q3) Write program, to allow the user to enter tow float number, and find the result of divide of these numbers.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Q1) Write program, to allow the user to enter tow integer numbers, and find the sum, and subtraction and the multiplication of these numbers.

Q2)What are the output of the following program?

 #include<stdio.h>

 

int main()

{

     int  sum, d;

     printf(" *******WELCOME******* \n");

     sum = 1 + 2 + 3 + 4 + 5 + 6;

     d = 8;

     printf("The Sum=%d\n", sum);

     printf("%d\n",d);

     printf("*******THANK YOU*******");

}

Q3) Write program, to allow the user to enter tow float number, and find the result of divide of these numbers.

Q4) Write program, to allow the user to enter the height, and width of any rectangle, and find the area.

Q5) ) Write program , to allow the user to enter the height, and base of any triangle, the find the area.

Q6) Write program, to allow the user to enter the radius of any circle, and find the area of this circle.

Q7) Write program, to allow the user to enter integer number, and find the square and cubic of the number.

Q8) Write a program to allow the user to enter the temperature in Fahrenheit, and convert it to Celsius temperature.

                                        Note: ctemp=(ftemp-32)*5/9

Q9)What are the output of the following program?

 #include <stdio.h> int main( void ){   printf( "Welcome to C!\n" );    return 0;}

Q10)What are the output of the following program?

 

 

#include <stdio.h>

 

int main()

{

   printf( "Welcome " );

   printf( "to C!\n" );

 

   return 0;

}

 

 

Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education