User Profile

Collapse

Profile Sidebar

Collapse
green381
green381
Last Activity: Sep 18 '07, 04:06 AM
Joined: Aug 22 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • green381
    replied to Odd numbers using a for loop help
    in C
    it looks funky in variables but it works .i have tried it .
    i an a learner if it is wrong sorry for the time u wasted .

    #include<stdio. h>
    #include<math.h >
    main()
    {
    int n,b,c,totalsum;
    printf("Entre the value of n");
    scanf("%d",&n);
    for (b=1;b<n;b++)
    c=n/2;
    totalsum=c*c;
    printf("The sum of odd numbers up to %d is...
    See more | Go to post

    Leave a comment:


  • green381
    started a topic how to simple intrest program in c
    in C

    how to simple intrest program in c

    hi
    i am little confused ,i hope u might help me
    can u post how write a simple intrest program
    in c language
    See more | Go to post
No activity results to display
Show More
Working...