I'm tring to read a file using Textpad in c langugage. When I go to run and put in cmd I get
C:\Documents and Settings\Owner>
then when I put in cd my documents i get
C:\Documents and Settings\Owner\ My Documents>
then when i put in pig i get ..
C:\Documents and Settings\Owner\ My Documents>pig
piglatin input-file
C:\Documents and Settings\Owner\ My...
User Profile
Collapse
-
reading a file and using the cmd prompt
-
This program that i wrote doesn't quite work correctly?Its a program to calclate the exponential of x when the user puts in a value for x.
#include <stdio.h>
double expon(double xth, double nth);
double factorial(doubl e num);
int main()
{
int n;
int value;
double x;
double total;
total=0.0;
printf("e**, enter a number for x (0t to exit): ");
... -
Array?
I'm trying to write a program in c language asking the user for an operation symbol and four intergers that are two fractions. The program needs to compute the specified operation on the two fractions and then print out the answer as a fraction? Do I use an array?
Perry
No activity results to display
Show More
Leave a comment: