PROGRAMING WIZARDS
Home
C CODES
__SIMPLE BASIC CODES
__STAR PATTERN CODES
__ARRAY CODES
SRM Q.Ps
__FIRST YEAR Q.P
__SECOND YEAR Q.P
__THIRD YEAR Q.P
NOTES
Ad Code
NEW POST
6/recent/ticker-posts
Home
Vinod is part of Great Indian Survey NGO who were collecting peoples year of birth for the detailed analysis on that particular year's population.
Vinod is part of Great Indian Survey NGO who were collecting peoples year of birth for the detailed analysis on that particular year's population.
Neeraj kumar
June 04, 2022
concept: we have print only last two digits so we can use %100 to print the last two digits number
#include <stdio.h>
int main()
{int year,yr;
scanf("%d",&yr);
year=yr%100;
printf("%02d",year);
return 0;}
Post a Comment
0 Comments
Social Reach
Advertisement
Most Popular
Abilash and Yazhini are friends who love to go for outing every month.
May 15, 2022
Arav was a popular maths trainer, he gave a 4 digit number to his students as an assignment .
May 16, 2022
Roy wants to change his profile picture on Facebook.
May 15, 2022
Tags
C CODES
RECENT POST
BUY ME a☕
CONTACT US
Contact form
0 Comments
if you have any doubt, plz let me know