Question

#include <stdio.h> 2 3 //Item 02 4 int main() 5 6 7 8 9 10 int i for( i = 0 ; i < 5 ; i++ ) ifo 12 13 14 15 16 17 18 19 20 21 printf(A printf(B); if i > 2 ) printf(C); 23 24 25 26 27 28 29 30 31 32 if( i 3) printf( D) if>4) printf(E 34 35 36 37 38 39 40 41 42 43 if>5 ) printf(F);

please determine the output in a simple form

0 0
Add a comment Improve this question Transcribed image text
Answer #1

// Screenshot of the code

// Sample output

// Code to copy

#include <stdio.h>

//Item 02

int main()

{

int i;

for( i = 0 ; i < 5 ; i++ )

{

if( i > 0)

{

printf("A");

}

  

if( i > 1 )

{

printf("B");

}

  

if( i > 2 )

{

printf("C");

}

  

if( i > 3 )

{

printf("D");

}

  

if( i > 4 )

{

printf("E");

}

  

if( i > 5 )

{

printf("F");

}

  

}

}

Add a comment
Know the answer?
Add Answer to:
please determine the output in a simple form #include <stdio.h> 2 3 //Item 02 4 int...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • These are my instructions: Your data should have been read in from the data file and stored into ...

    These are my instructions: Your data should have been read in from the data file and stored into an array. Next you need to calculate the following and display in a single Message box: Average score Highest score Lowest score Mode of the scores Your program should be written using methods and should be well documented internally and externally. Your output should be displayed using Message boxes. This is the .text file to use with the instructions: 20 21 22...

  • what is output #include<stdio.h> pint main() { int i, j, total; for ( 2 { printf("\n");...

    what is output #include<stdio.h> pint main() { int i, j, total; for ( 2 { printf("\n"); for ( 2 { total = i + j; printf("%d", total); بہا } getchar(); return 0; } Find the for loop content | Output of progrm 5 15 1 11 21 31 41 51 61 2 12 22 32 25 3 13 23 33 43 53 63 4 14 24 34 44 54 64 35 45 6 16 26 36 46 56 66 7...

  • Sample Data Sample Data Hour Sample Taken Hour Sample Taken 1 4 5 X 1 3...

    Sample Data Sample Data Hour Sample Taken Hour Sample Taken 1 4 5 X 1 3 1 42 2 3 4 5 6 2 39 36 25 60 28 53 22 56 41 34 43 45 59 42 36 40 45 39 48 26 42 34 61 48 45 29 3 31 61 38 40 54 26 38 42 37 41 53 37 47 41 37 29 20 26 43 38 33 37 37 35 33 36 41 25 37...

  • Do the Academy Awards involve discrimination based on age? Listed below are the ages of actresses...

    Do the Academy Awards involve discrimination based on age? Listed below are the ages of actresses and actors at the times that they won Oscars in the Best Actress and Best Actor categories. the ages are listed in order, beginning with the first Academy Awards ceremony in 1928. (Note: in 1968 there was a tie in the Best Actress category, and the mean of the two ages is used; in 1932 there was a tie in the Best Actor category,...

  • 1) (5 points) The following program is used to display numbers between two intervals include stdio.h...

    1) (5 points) The following program is used to display numbers between two intervals include stdio.h define true 1 define false 0 5 void prime (int low, int high) int i -o, flag-0 ; printf ("Prime numbers between %d and %d are: ", low, high); while (low <high) 10 flag false; 12 13 for (i 0; i <-low/2; ++i) - 15 16 17 if(low % ?--0) flagtrue: break; 19 20 21 if (flagtrue ) 23 24 25 26 27 28...

  • Inferences from Two Samples chapter Listed below are the ages of actresses the awards ceremony, b...

    Inferences from Two Samples chapter Listed below are the ages of actresses the awards ceremony, but the ages in and actors at the times that they won the table below are based on the birth Oscars for the categories of Best Actress date of the winner and the date of the and Best Actor. The ages aze listed in awards certmony) chronological otder by row, so that cor- responding locations in the two tables Analyzing the Results are from the...

  • I literally have no idea what I’m doing. Help!!! Please show work!! Write an essay using...

    I literally have no idea what I’m doing. Help!!! Please show work!! Write an essay using Word and post it as an attachment to the discussion. Cover the following points. Choose a data set from Stat Disk using one of the following files from 13th Edition Elementary Statistics: Oscar Winner Freshman 15 Word Count Garbage Weights Passive and Active Smoke If the file contains more than one variable, choose a quantitative variable. Create a histogram using your chosen variable and...

  • Determine how many CH2 and CH3, CH and C (no hydrogen) groups are in the molecule....

    Determine how many CH2 and CH3, CH and C (no hydrogen) groups are in the molecule. and how many proton groups are there. Does the spectra agree with this? Cholesterol in CDC13 Proton spectrum AAA M. T T 40 0.5 5 5,0 4.5 3.5 3.0 25 2.0 1,5 14 0 f1 (ppm) Cholesterol in CDC13 Carbon Spectrum ..demel. 135 130 80 10 50 145 140 125 120 115 110 105 100 95 90 85 70 75 f1 (ppm) 65 60...

  • Janefrances I Onyenwe | RN47 TRANSITIONS TEST V2 22 Question: 37 of 50 23 OP22 [1...

    Janefrances I Onyenwe | RN47 TRANSITIONS TEST V2 22 Question: 37 of 50 23 OP22 [1 Mark) 24 Select an "S" for subjective information or an "O" for objective information Blood Pressure 25 26 27 28 29 30 31 A. O 32 33 34 35 36 37 38 39 40 41 42 43 44 45 1 Previous Next P Type here to search

  • In the graph above which of the following has the largest molecular size? 1 2 3...

    In the graph above which of the following has the largest molecular size? 1 2 3 4 not enough information to determine 0.35 0.3 o 0.25 o 0.2 20.15 0.1 0.05 CN 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 5354 Fraction

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT