Search:

Type: Posts; User: hnparmar

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    874

    Array multiply

    Can you please help me to print Value?

    Value = number of units * unit price;




    #include<stdio.h>
    #include<conio.h>
    #define MAX 5
  2. Thank You so much My Friend.

    Thank You so much My Friend.
  3. #include #define N 4 int main() {...

    #include<stdio.h>
    #define N 4
    int main()
    {
    int i , j=1,location,x=1;
    float grade[N] , total = 0 , average , max;
    for(i=0;i<=N;i++)
    {
    printf("\nPlease enter grade : ");...
  4. Run-Time Check Failure #2 - Stack around the variable 'grade' was corrupted.

    Output of the Program:

    Student Grade
    1 10.0
    2 20.0
    3 30.0
    4 40.0
    5 50.0
    --------------------
    Average Grade: 30.00
  5. Replies
    6
    Views
    943

    I am Extremely sorry sir! Please sir give me one...

    I am Extremely sorry sir! Please sir give me one more chance. I am so sorry stahta01.
  6. Replies
    6
    Views
    943

    Can you please help me to fix this progaram?...

    Can you please help me to fix this progaram? Thank you.
  7. Replies
    6
    Views
    943

    more function help please!

    2. This a mini - inventory program. You own a used book store. People buy books from your store and sell books to your store. You carry two types of books - adult books and children's books. ...
  8. Thread: Header files

    by hnparmar
    Replies
    3
    Views
    1,173

    Header files

    Modify program 3 by saving the header file on your memory stick and remove it from the Header section of the VC++ in the Solutions window.



    /* Programmer : Himanshu Parmar
    PRG155F
    DATE :...
  9. Replies
    4
    Views
    1,234

    Thank you very much Mr.Salem. You help me a...

    Thank you very much Mr.Salem.

    You help me a lot. Thank you Boss!
  10. Replies
    4
    Views
    1,234

    Can you please help me to add the source file?

    Can you please help me to add the source file?
  11. Replies
    4
    Views
    1,234

    Defines, Macros and Header files

    Modify program by saving the function, the define and the macro you wrote in a header file. Run the program using the same or similar main function.



    #include<stdio.h>
    #include<conio.h>...
  12. Replies
    8
    Views
    1,839

    #include #include #define pi...

    #include<stdio.h>
    #include<limits.h>
    #define pi 3.141592654
    float spherevolume (float);
    main()
    {
    float a,v;
    printf("Please enter the radius: ");
    scanf("%f",&a);
    v = spherevolume(a);
  13. Replies
    8
    Views
    1,839

    #include #include #define pi...

    #include<stdio.h>
    #include<limits.h>
    #define pi 3.141592654
    void spherevolume (float a);
    main()
    {
    float a,v;
    float answer;
    printf("Please enter the radius: ");
    scanf("%f",&a);
  14. Replies
    8
    Views
    1,839

    can you please help me in the program?

    can you please help me in the program?
  15. Replies
    8
    Views
    1,839

    Defines and Header file

    1. Write a program the calculates the volume of a sphere. Use a define to set Pi to 3.14 and a macro for the formula for the sphere. V = 4/3PiR3.
    In main ask for the radius (R). Pass it...
  16. Replies
    7
    Views
    1,044

    #include void fun (float); /* the...

    #include<stdio.h>
    void fun (float); /* the FUNCTION PROTOTYPE */
    void fun2 (char , float);
    main()
    {
    float a;
    printf("Please enter a number: "); /* Program in MAIN */
    scanf("%f",&a);...
  17. Replies
    7
    Views
    1,044

    Function 2 Help Please!

    2. Write a program with two functions. In main ask for a number. Pass this to the first function and print the value. In the first function ask for a character. Pass the first number and the...
  18. Replies
    3
    Views
    1,240

    Thank You So Much BatchProgrammer! You help me a...

    Thank You So Much BatchProgrammer! You help me a lot.
  19. Replies
    3
    Views
    1,240

    function help please

    4. Write a program with two functions both called from main(). The first function just prints "Hello". In the second function ask the user to enter a number. Calculate the square root of the...
  20. Replies
    8
    Views
    1,228

    Thank you very much sir. The program is working...

    Thank you very much sir. The program is working fine. Thank you so much.



    #include<stdio.h>
    char fun (char);
    main()
    {
    char x;
    int answer;
  21. Replies
    8
    Views
    1,228

    How to pass character to the function? ...

    How to pass character to the function?



    char fun (char);
    main()
    {
    char x;
    int answer;
    printf("Please enter a character: ");
  22. Replies
    8
    Views
    1,228

    #include char fun3 (char char); main()...

    #include<stdio.h>
    char fun3 (char char);
    main()
    {
    char a;
    char b;
    char final;
    printf("Please enter a character: ");
    scanf("%c",&a);
    printf("\nPlease enter another...
  23. Replies
    8
    Views
    1,228

    character help

    2. Write a program that asks for a character in main, passes it to a function which then prints the character and returns the next character in the alphabet to main. In main print the new...
  24. Replies
    2
    Views
    855

    Function Help Please!

    1. Write a program that uses a function to ask for a number (In the function), multiplies it by two and prints the result in the function. The only executable line in main should be the...
  25. Replies
    2
    Views
    1,718

    homework help Please!

    Write a program that a prof can use to enter the test marks of several students and which calculates the average mark of each student. Ask the user how many students he has, then ask him to enter...
Results 1 to 25 of 31
Page 1 of 2 1 2