Thanks, that answered a lot of my question. What about your own experiences?
Type: Posts; User: ARod609
Thanks, that answered a lot of my question. What about your own experiences?
I decided to go to school for computer science, I have a lot of questions on what to do to prepare myself for the real world. I want to become a good reliable programmer. What should I look for in...
Planning on taking "Computer Science" for my major, wondering about any advice on classes or languages I should learn?
Thanks everybody for helping me learn some of the fundamentals, your help...
#include <stdio.h>
void change(float, int *, int*, int*, int*);
int main()
{
float total;
int quarters, dimes, nickels, pennies;
{
@Stahta01
I am just trying to learn "C" with the help of the board, I only post a question when I am stumped... Your jokes are funny haha, now I appreciate your advice on writing out the steps and...
@Stahta01 I know I just dont know how to apply it in "C" lol... so I am lost using the call functions with the modular division (%) to get the remainder to break it down in cents. I thought it would...
1) Math header not sure if i need it...
2) Function I am not sure on how to use it correctly...
3) Output did exactly what I was not supposed to do...
The book I am using has a bunch of...
Write a C function named change() that accepts a floating point
number of total coins and the addresses of the integer variables named
quarters, dimes, nickels, and pennies. The function should...
Output
x is one
x is not one or two
I see, so the first "if" function and the "else" perform there functions because the code did not clarify what process it wanted to follow?
So that could cause a conflict in more complicated programs?
#include <stdio.h>
int main (int argc, const char * argv[])
{
char let;
printf("Please Insert a single character here: \n");
scanf("%c",&let);
Wow! its so much simpler than I thought thank you also the way I set up the Characters A-Z-
case 'a':case'b':case'c':case'd':case'e':case'f':case'h':case'i':case'j':case'k':
...
So i Should just use "char" and have one "scanf function"
1. Ask for a single character to be typed from the keyboard. Analyze the
character and print out a message that it is:
- an alphabetic character (a–z or A–Z)
- a digit (0–9) or...
I tried just to simplify it, now I am just going to read up on it obviously something I am doing with the if and else statement is wrong and I have to read up on switch statements too...
input:"w"...
Well I want it to respond to a #0-9
You entered the number four
and
Error when you type a character
formatting the if and else statement is what I am getting confused with I try using the...
Ask the user to enter a digit between 0 and 9. Have the program print
out the digit in words, for example:
Enter a digit between 0 and 9: 4
You entered the number four
Assume that the...