User Profile

Collapse

Profile Sidebar

Collapse
nomana123
nomana123
Last Activity: Nov 2 '08, 03:00 PM
Joined: Oct 31 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nomana123
    started a topic Switch blocks
    in C

    Switch blocks

    the question is here
    http://www.megaupload. com/?d=RY0AB70J

    Code:
    #include<iostream>
    using namespace std;
    #include <cmath> 
    int main()
    {//variables defined here
    float a,b,E,x,g,h,y,w,q;
    int choice;
    
    cout<<"Which equation would you like to evaluate";
    cout<<"\nPress 1 for this equation, y=10+(5a/3b)-b^2";
    cout<<"\nPress
    ...
    See more | Go to post

  • nomana123
    replied to Help please, Need a small fix
    in C
    yep worked like a charm, thank you.
    See more | Go to post

    Leave a comment:


  • nomana123
    started a topic Help please, Need a small fix
    in C

    Help please, Need a small fix

    Code:
    #include<iostream>
    using namespace std;
    
    int main()
    {//variables defined here
    float angle,q;
    
    cout<<"Enter angle value ";
    cin>>angle;
    
    if (angle==0)
    {cout<<"This angle is zero";
    }
    else if (angle>0&&angle<90)
    {cout<<"This is an acute angle";
    }
    else if (angle=90)
    ...
    See more | Go to post

  • nomana123
    replied to Program help
    in C
    could we delete this post plz
    See more | Go to post

    Leave a comment:


  • nomana123
    started a topic small error
    in C

    small error

    Code:
    //Lab 9 Problem 3 program that allows user find mass of a particle
    #include <iostream>
    using namespace std;
    int main()
    {//defining variables
    float m, v, count;
    char exit_variable;
    cout<<"This is a programme to determine the mass of a particle";
    v = 0.2;
    while (v<=0.9)
    {m=1/(sqrt(1-(v*v)));
    cout<<"   when v is"<<v;
    ...
    See more | Go to post

  • nomana123
    replied to Program help
    in C
    so how do i say 3/4?
    See more | Go to post

    Leave a comment:


  • nomana123
    started a topic Program help
    in C

    Program help

    //Test 2 Question #23
    #include<iostre am>

    using namespace std;
    int main()
    {
    //variables defined here
    float y, a, b, w, x, q, h, g;
    char exit_variable;
    int option;
    cout<<"Please chose a program:\n";
    cout<<"\n1. Y=10+((5*a)/((3*b)-(4*b*b)\n";
    cout<<"\n2. w=(6*x*x*x*x*x)-15\n";
    cout<<"\n3. q=(3/4)(h-(7*g)/6)\n";...
    See more | Go to post
    Last edited by nomana123; Oct 31 '08, 02:27 AM. Reason: Mor changes
No activity results to display
Show More
Working...