- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
My problem is when i try to include the function [B]funcString[/B] in my code and try to built it , i get this errors: [QUOTE]error C2065: 'ch' : undeclared identifier[/QUOTE] And when i remove the function [B]funcString[/B] i don't get any error and the programs runs perfectly. HERE is my … |
|
I made a simple program where a user can pick from the menu. My problem is where do i put this code properly inside the fuction of [B]funcFloat[/B] and [B]funcInteger[/B] [CODE]if (myFloat < 0) // this will output if the user entered a negative value { printf ("You entered a … |
|
Is it possible to put a function inside an[ICODE] if-else[/ICODE] statement? [CODE]if (condition) { // function here } else { // function here }[/CODE] |
|
The assignment is: A. Present a menu like the following: 1. Enter a char 2. Enter a string 3. Enter a float 4. Enter an integer 5. Display the sqaure of numbers from 1-100 9. Quit the Program Enter the Program B.The program should not quit until the user chooses … |