Q13)What are the output of the following program?     #include   int main() {     printf("Hello My Students\n");     printf("The sum of 2 and 3 = %d\n", 2 + 3);           return 0; }     Q14)What are the output of the following program?     #include   int main() {     printf("Hello My Students\n");     printf("The sum of 2 and 3 = %d\n", 2 + 3);     //printf("Thank You");       return 0; }   Q15)What are the output of the following program?     #include   int main() {     printf("********Welcome My Students***********\n");     printf("2 + 5 =%d\n", 2 + 5);     printf("13 + 89 =%d\n", 13 + 89);     printf("34 - 20 =%d\n", 34 - 20);     printf("45 - 90 =%d\n", 45 - 90);     printf("2 * 7 =%d\n", 2 * 7);     printf("6 / 2 =%f\n", 6 / 2);     printf("14 / 7 =%d\n", 14 / 7);     printf("34 reminder 5 =%d\n", 34 % 5);     printf("4 reminder 6 =%d\n", 4 % 6);              return 0; }

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section: Chapter Questions
Problem 10PP
icon
Related questions
Question

Q13)What are the output of the following program?

 

 

#include <stdio.h>

 

int main()

{

    printf("Hello My Students\n");

    printf("The sum of 2 and 3 = %d\n", 2 + 3);

 

        return 0;

}

 

 

Q14)What are the output of the following program?

 

 

#include <stdio.h>

 

int main()

{

    printf("Hello My Students\n");

    printf("The sum of 2 and 3 = %d\n", 2 + 3);

    //printf("Thank You");

 

    return 0;

}

 

Q15)What are the output of the following program?

 

 

#include <stdio.h>

 

int main()

{

    printf("********Welcome My Students***********\n");

    printf("2 + 5 =%d\n", 2 + 5);

    printf("13 + 89 =%d\n", 13 + 89);

    printf("34 - 20 =%d\n", 34 - 20);

    printf("45 - 90 =%d\n", 45 - 90);

    printf("2 * 7 =%d\n", 2 * 7);

    printf("6 / 2 =%f\n", 6 / 2);

    printf("14 / 7 =%d\n", 14 / 7);

    printf("34 reminder 5 =%d\n", 34 % 5);

    printf("4 reminder 6 =%d\n", 4 % 6);

  

 

        return 0;

}

 

Expert Solution
steps

Step by step

Solved in 3 steps with 3 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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning