So I'm taking a new class that delves into assembly, but our professor is testing our C knowledge beforehand. This what he asks of us:
Return the binary representation of a number x as a...
Type: Posts; User: jbone0881
So I'm taking a new class that delves into assembly, but our professor is testing our C knowledge beforehand. This what he asks of us:
Return the binary representation of a number x as a...
cool, i got it. thanks.
#include <stdio.h>
#include <stdlib.h>
int main()
{
int seed, i,z;
so, for this assignment they introduce the rand() function and also(finally) other libraries to use. anyway, the first program is as follows:
Write a program that will print out 10 random...
so i have to write a much larger program, but i am starting with the prime function to call first. anyway, it appears work work properly however, when it does recognize that it is prime, it prints a...
cool, thanks again...and probably again. I'll give it a shot with the pseudocode. This class is stressing me out big time. We've finally gotten to functions, yet my teacher doesn't feel the need to...
We just learned briefly about functions today and have a list of programs to write, but I am stuck with this particular problem:
Write a function void myInfo( ) that prints your name and email...
I have to write a program that prints a table of factorials. I need some help just getting the factorial algorithm to work before I can continue. I only have stdio.h and math.h to work with. I've...
I've been doing well in this darn class up until this assignment. oh well, this is my first class and i'm only 5 weeks in. anyway, here is the program specifics:
Suppose you invest $100.00 at an...
awesome i finally got it. thanks for all the help. i think i'm getting burnt out. anyway, i used:
double principal = 100.00;
int year;
double rate = .10;
...
I have been trying for many hours to get this to work, but alas no success. i have about 6 programs to write and they all build off of this one so I'm stuck. I could really use some help please. this...