Home Article Print even number 1 to 100 Using for loop Print even number 1 to 100 Using for loop / September 25, 2017 Print even number 1 to 100 Using for loop LOGIC: for( i=1;i < =100;i++) { if(i%2==0 ) { Printf("even no are %d",i); } }
https://www.crackyourinterview.com/Ads-Code-to-print-Even-number-in-c-Language.aspx
ReplyDelete