Thanks BobSO327...and by the way difftime is for seconds !! not days :)
thanks anyways :)
Type: Posts; User: DaniiChris
Thanks BobSO327...and by the way difftime is for seconds !! not days :)
thanks anyways :)
Well..I want the just the number of days in between the two dates..but,I will check difftime :)
Thanks everyone
Hey Guys...
I need to ask for someone to explain the program to wri:
give the program 2 dates
day,mnonth,year
an anozer one
day,month,year
and then it gives the difference....my proble is in...
#include <stdio.h>
#define SIZE 10
int main()
{
int a[ SIZE ] = {2,4,6,8,10,12 };
int pass;
int i;
int hold;
printf("Data items in original order\n");
I gave it a try! and here it is ;)
Thanks to everyone :D
#include <stdio.h>
int main()
{
int x,num,p,rev;
printf("Enter your desired number you want to check");
scanf("%i",&num);
Thanks everyone! Will post my code as soon as I get it done! :)
I totally apreiciate every single one in here :D
Well..if you get into details about what you want me to write..would be my pleasure
as for the palindrome :) I will do the Macgyver said..I will try first and when I give up I will come in here ;)
Hello!
Was just wondering if there's a C program which can take from the user a number and it checks if its a palindrome or not...I know that we %10
right ? :)
May you show it to me!
Welll....Its been 3 days am trying but,I give up ! I am so dumb! and I can't do this program :'(
ok ;)
Thanks Adak..I will try this out! I guess it will work :D
I will try :)
Hello Guys..
I need to ask a question about how to make a program by defining two arrays
one of them has 135 and another has 246
and then they are merged together in one array by order by sorting...
oh! Thanks dwks :D
I know I asked the same question but,I can't find it and I think its deleted so thats why I did it again
I am sorry for any inconvience caused!
Hey Guys..Was just wondering if its possible to make a stopwatch or timer in C for example if I asked the user for a value and he took too long to enter the value the timer would be counting 5...
Sure lasernight...Thanks a million! You are like my online teacher :D :D
Thanks to all :D :D
MacGyuver and Lasernight !
I am grateful! :D
Thanks to all :D :D
With no good reason I know..........the loop in here turn infinite
can anybody know why
#include <stdio.h>
int main()
{
int x,ul,ll,j=1;
printf("Please enter your desired number you want...
I will try again :)
Thanks a million!!
Thanks :D That helped me alot!! :D :D
#include <stdio.h>
int main(void)
{
int num, lower, upper;
int i;
printf("Enter the integer: ");
scanf("%i", &num);
printf("Enter the lower limit: ");
scanf("%i", &lower);
Well..That's too advanced for my tiny little brain..but,I will try :)
I think the error is in here
for (j >= ll && j <= ul; j--)
or what do you think? I truely dunno ? :D
Well..I got this so far
#include <stdio.h>
int main()
{
int x,ul,ll,j=1;
printf("Please enter your desired number you want its divisible numbers\n");
scanf("%i",&x);
Thanks a million :) Would be because I met someone AWESOME and GREAT like you :)