what code can I use to make a fortune cookie program that will give a random result when you input bday, month and year?
I'm new with this but this is what i typed first:
#include<conio.h>
#include<stdio.h>
main()
{
int dd,yy,mm;
clrscr();
printf("Know your Fortune Cookie reading");
printf("input birth day")
scanf("%d",&dd);
......
...
....
but idont know what formula to input to randomize my rsult since there are like over 20 readings i have.
im just familiar using If program
can i do that using this program\?