Thanks! Check my edit regarding printing the two extra 20's.
It does print out the same values every time. I may have missed the 70 one time.
Type: Posts; User: Frankie15
Thanks! Check my edit regarding printing the two extra 20's.
It does print out the same values every time. I may have missed the 70 one time.
I'm sorry! I totally missed where you said how it could be random.
What I don't understand is how it is fair to be tested on what the output is if they are always random.
I think I understand...
I don't understand because when I run the program it prints the following:
y=20
y=30xxx@xxx-VirtualBox:~/program$ y =20
y=30
y=20
y=70 y= 20
y=70
You said it prints out 20 twice during the...
Hello all! I have been trying to figure out how this works for the past 5 hours and I cannot figure out exactly what is going on. I understand that it will begin by printing out 20 and then 30 for...
Elysia,
Are you saying its worthwhile to continue to pursue Computer Science despite my apprehensions about being a programmer when I graduate? Sometimes it seems as if I am having a mild panic...
I am still confused on how to do this. We haven't learned strlen yet so I don't believe we can use it.
The program has to run exactly like I have listed (Enter message...then enter shift...then...
What would I put in place "aSize" in the first for loop? char n must have a size of 80 since the character must be less than 80 characters, correct?
The only way I can get this to work is to know...
Hello all,
I am working on a program called Caesar Cipher which encrypts messages by increasing each character by a value determined by the user (key). It will also roll over if the key rolls over...
One thing I do have to admit is this. When I am working on something minor (like right now), one of the best feelings is when you finally figure out how to get the program to do exactly what you want...
Thanks for the advice guys. I appreciate it very much.
Is a programmer the only job I can really get with a CS degree? This uncertainty I am facing is somewhat stressing me out. I would hate to...
Hello all!
Here is a little background information on me. I transferred from a local CC because I was unsure of what I wanted to major in. I always excelled at and enjoyed my computer classes in...
Thanks for the tables quzah and anduril. I think I understand it. It does much more than I originally thought it did.
Really appreciate the quick responses. You guys were very helpful!
#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>
int main()
{
int i,j;
double a[9];
printf ("This program determines the middle value\n");
Thanks for the link as well. I will use that to review for sure.
Thanks again for your help. Appreciate you taking the time to do so! :)
Thank you SO much anduril.
Ok, I used %lg and %g (ignore code in updated original post. I thought it may have been lf instead of lg so I updated.)
Using %g instead of %lg worked PERFECTLY....
I am having an issue with the following program. This is just a simple program that calculates the surface area/volume of a cylinder. For some reason this executes JUST fine in CodeBlocks. Everything...