I've been tasked with creating a program that reads in 2 virus signatures as strings, i.e.
'2A40 020E 0788 0002 33C9 8BD1 419C' and '10BC B801 33C9 8BD1 ABCD' Then given a text file such as: ...
Type: Posts; User: levitylek
I've been tasked with creating a program that reads in 2 virus signatures as strings, i.e.
'2A40 020E 0788 0002 33C9 8BD1 419C' and '10BC B801 33C9 8BD1 ABCD' Then given a text file such as: ...
I have a file of names, for example:
Nick Greg Matthew
I also have an array of:
1 2 3
Is there a way to represent Nick as 1, Greg as 2, and Matthew as 3 so that later down the road when let's...
Basically. It's a review problem for our final.
Honestly I don't know anything about lists or pointers so I'm beyond lost on this.
"Write a function that takes a pointer to the front node of a linked list and determines the sum of every other...
Perfect! That was exactly what I need thank you. And i'll definitely look into a do while.
int main(){
int ans;
//Get user's input
printmenu();
scanf("%d", &ans);
while (ans !=6) {
Nevermind I figured it out, Xcode is weird and I had the file in the wrong place
So I actually did this assignment awhile back, and now I have to combine the code into a new program, but when I went to test it out I realized it wasn't working. When I had submitted it I know it...
For starters this program is far from finished, I just completed the first option of my menu and I wanted to test it out but when I compile it, all the way at the very end with the last } I get an...
The x axis is the five minute intervals based on the amount of time the trip lasts, and the y axis is the mpg you get for that interval.
Here's a link to a test file:...
I'm provided with a file full of data on a car trip, here's an example:
10 13
1.131232 0.000183
2.872323 0.000312
4.233291 0.000422
5.823823 0.000367
6.464139 0.000316
6.554324 0.000275
When I change the -50's to 0's I get a quarter of the circle:
$$$*****************************
$$$***************************** ...
This is what i've gotten so far:
#include <stdio.h>
#include <math.h>
int main() {
int r1, r2, x, y;
char grid [50][50];
I need to print out a rough picture of a tire based on two radiuses. We need to include the axel (the +'s), the hub cap (the $'s), and then the tire portion (the *'s). But all I can get printed is...
Aha I got it! Thank you!
I need to write a program that randomly generates multiplication problems based on how many the user says they want. So far this is what i've got:
#include <stdio.h>
#include <time.h>
int...
for example:
if (total <= mins_before && mins_dist * gpm > gas && total + 5 <= mins_before)
Gah thank you so much!
In our instructions it said something about making a Pi a constant and that tripped me up but now that I go back and read it says define a constant for Pi :rolleyes:
I'm supposed to build a program that calculates miles per gallon when given the radius & revolutions of a car's tires, and the amount of gas used, but every time I try to test it out the final answer...