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
NielsenIQ Off-Campus Recruitment for (2024-25) batches
October 11, 2025
Indian Express Internship; Stipend Rs.7,000 / month: Apply by 7th November
October 11, 2025
New Oracle hiring is live Now | Off Campus Drive 2025
October 12, 2025
Tags
C CODES
RECENT POST
BUY ME a☕
CONTACT US
Contact form
0 Comments
if you have any doubt, plz let me know