No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Guys will you pls help me make a calendar turbo c program? the program prompts the user to enter a month in integer form from 1-12 only (1-12 refers to month) and also prompts the user to enter year from 1980 - 2010 only if you enter an invalid integer … |
|
pls help me with my code! it wont align! T_T i cant get it to work correctly! pls help guys! heres the screenshot! the date wont align huhu! [IMG]http://img72.imageshack.us/img72/4647/helprk3.jpg[/IMG] [code] #include<stdio.h> #include<string.h> #include<conio.h> int getNumberOfDays(int month,int year) { switch(month) { case 1 : return(31); case 2 : if(year%4==0) return(29); else … |