Hey keep the comments, if you don't want to be a team player, thats your deal. We all have things in life that are easy, programming C is yours, mine is dealing with blind students. Be glad you can...
Type: Posts; User: DonW
Hey keep the comments, if you don't want to be a team player, thats your deal. We all have things in life that are easy, programming C is yours, mine is dealing with blind students. Be glad you can...
Does anyone have code for a 2D array ([5][4]) that adds the rows and columns? Like to use a couple for loops.
Want to convert these C++ to C??
(1)
#include <iostream.h>
#include <iomanip.h>
// Print out the first n Fibonacci numbers. n is assumed to be >= 1.
Is there a way to enter a binary number and print its decimal equivalent.
I know. I'm trying to print the entire screen in office 2003. The pc I have (HP Pavilian) library does not default any of the F keys to this function. The MSN suggests hit the print screen button. OK...
(1) If I wanted the following piece of code to input an integer and a character and print them, while assuming the user types as input 100 A, what corrections do I need:
.
.
.
scanf( "%d",...
My new code. it works maybe not the best, but it works. Het all of you whom commented, much kudos and love, great ideas and made me get down and dirty.... :D
#include <stdio.h>
double...
I'm trying to prompt and print principal,rate,and days; and compute and display interest. The following doesn't seem to work. Any thoughts for correcting? :cool: The copile error I get on the last...
I don't know what you mean by contests, and if I found the right library I probably wouldn't know that. Keep in mine I have been in a C class for 3 weeks, not 3 years. :(
Ok, so how do I do that. I looked at the libraries and there are over 122K search replies from "library" in our response?
If I wanted to improve this program that would allow me to enter larger integers than 10, what would I do. I think I would use long. Any help or ideas?? :confused:
#include <stdio.h>
int...
I have changed the code a small amount, it compiles, and runs, it requests an integer, but prints out only a 0......Hmmmmm
#include<stdio.h>
int factorial;
void main(void)
{
I'm just starting in C, and I'm trying to use the factorial function and print the result from entering a nonnegative integer. Anybody got some ideas. By the way the error message says: Lvalue...
I added spaces before %c. Thanks anyway. DW :p
If Iwanted more spaces between the output number (3 spaces between each number vs one, what do I add to the program??
I want to read in a 5 digit integer, and print it as follows with spaces between each number.
Ex: Read 12345,
and print 1 2 3 4 5.
I heard some smart programmer in my class say read...
how do you read in an integer as a text string.
Plsgive example. Thanks :confused:
I'm abeginning student of C. I need to develop a program that reads in 2 integers and determines and prints if the first integer is a multiple of the second. I think I need to use the remainder...