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
TCS NQT 2026 Preparation – Syllabus Pattern Study Material
February 25, 2026
Principal Careers 2026 Hiring For Software Engineer | Apply Now!
February 25, 2026
TCS Walk-in Drive 2026 Bangalore
February 21, 2026
Tags
C CODES
RECENT POST
BUY ME a☕
CONTACT US
Contact form
0 Comments
if you have any doubt, plz let me know