User Profile

Collapse

Profile Sidebar

Collapse
uditkumar95
uditkumar95
Last Activity: Jan 28 '12, 11:55 AM
Joined: Jan 4 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • i keep getting a error , termination terminated incorrectly

    #include<iostre am.h>
    #include<conio. h>
    struct student
    {
    char name [20];
    int age;
    int roll;
    };
    void main();
    {
    clrscr();
    student a;
    cout<<"please enter name: ";
    cin>>a.name;
    cout<<"please enter age: ";
    cin>>a.age;
    cout<<"please enter roll no: ";
    cin>>a. roll;...
    See more | Go to post

  • uditkumar95
    replied to if else statement
    in C
    thanks a lot for posting, both of your posts were really helpful.
    See more | Go to post

    Leave a comment:


  • uditkumar95
    started a topic if else statement
    in C

    if else statement

    i keep having problem with my code

    #include<iostre am.h>
    #include<conio. h>
    void main()
    {
    clrscr();
    float a,b,c;
    cout<<"Enter a number: ";
    cin>>a;
    cout<<"Enter another number: ";
    cin>>b;
    cout<<"Enter the type of computation (+,-,/,*) = ";
    cin>>c;

    if (c='+')
    {...
    See more | Go to post
No activity results to display
Show More
Working...