I know how to do it on the calculator, and on paper, I just can't get the for statement to give me what I want. It's probably a really simple 3-4 line code I'm just dancing around. Help?
Type: Posts; User: TripleF2000X
I know how to do it on the calculator, and on paper, I just can't get the for statement to give me what I want. It's probably a really simple 3-4 line code I'm just dancing around. Help?
/* Title: c5 Review 9 (c05r09) */
#include <iostream.h>
// ----------------------------------------
void Introduction()
{
IGNORE THIS PART
}
thank you so much. and i know what you mean. i'm a lil new at this. thanks again for helping me
for the () loop, i know what you mean; i need it to execute till infinity (technically) until 0 is reached, but i didn't know how to state that in there. and i was confused, i dont know how to name...
#include <lvp\random.h>
#include <iostream.h>
int main()
{
const int Sentinel = 0;
do
{
randomize();
ignore #include <stdlib.h>
#include <stdlib.h>
#include <lvp\random.h>
{
return rand()%limit;
}
#include <iostream.h>
int main()
{
i can get the random numbers, but i can't get it to stop executing when 0 is reached; i'll get an infinite loop of some sort
If anyone would be able to help me, i'd really appreciate it please. for school i have a problem to do that deals with random numbers. i need to write a program that generates a series of random...
Nevermind guys, I was playing around with it and got it. If anyone else has the same problem, here is my finished code...
/* Temperature Program */
#include <iostream.h>
int main()
{
Here we go...
/* Temperature Program */
#include <iostream.h>
int main()
{
Also, I would need to do this the most basic way as possible.
I've been racking my brain for about 2 hours now, so I decided to ask CProgramming for help. I have a problem I got to do for school and I have basically everything but I can't get one thing.
The...