ok.. thanks ill edit it sorry..
Type: Posts; User: nhoda911
ok.. thanks ill edit it sorry..
the number of days is inputted by the user, the month, and the first day of the month..
Problem output should be:
1st screen:
Enter Month : 4
Enter days : 30
First day of the Month : 4
2nd screen:
April
SMTWTFS
thanks again mr. snafuist!!
i have found a solution for that before using the C compilers help menu..
there are some example programs there using random function.. just try it..
^__^
wew i got it!!! thanks for the tip!
here's my final code:
#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
int x=4,y=0,z=0;
OUTPUT display should be:
0 1 2 3
4 5 6
7 8
9