- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 2
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
15 Posted Topics
is there any way one could do a square root program without sqrt or pwr functions? Any tips? I am not asking for code btw.:) | |
Hi guys, I've got the program running, but not as how the instructor requested. The professor wants us to ask the user for a text file and classify the data accordingly. Example: E = Enter L = Leave So if I have a text file with the following info E … | |
I have created a program without using sqrt and the pwr function but instead have used logs and exponent. The professor said that math.h is not allowed. I am aware that this library is important for computation, but how do I compute the math without using the math.h? Would I … | |
[ICODE] org 0100h mov dx, msg mov ah, 09h int 21h mov ah, 4ch int 21h msg db 'Hello Wold! \nThis is my first program using Assembly', '$'[/ICODE] Hi guys, I'm learning Assembly Programming using NASM and had a question. Would it be possible to break lines in Assembly? Say … | |
Re: I modified the program so i can accept user input for the x y z and b values, but how do modify it to accept the number of unknowns? ![]() | |
Hello, I am a new member to this forum. I have some announcements, I will continue to read some more. I need to create a program were the user inputs a number, program displays the cube root for that number. The code I got thusfar is: [CODE][COLOR=#0000ff] #include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<stdio.h> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] … | |
I keep on getting the following error, I've tried modifying the constructor, but I can't get it to work. "C:\Users\Documents\NetBeansProjects\Assignment-1\src\Bank.java:34: cannot find symbol symbol : constructor Customer(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String) location: class Customer Customer customer = new Customer(last, first, street, city, state, z, acctNum); 1 error BUILD FAILED (total time: 0 seconds) " … | |
Can all for statements be written as while statement. Vice Versa? | |
I got this code from a book I bought. I wanted to see if it words but it gives me errors. Here is the source code. [code=cplusplus] #include<math.h> #define NRANSI #include"nrutil.h" #define SWAP(a,b) { temp=(a);(a)=(b);(b)=temp; } void gaussj(float **a, int n, float **b, int m) { int *indxc,*indxr,*ipiv; int i,icol,irow,j,k,l,ll; … | |
I am working off the code that the professor provided, but for some reason I cannot get it to work. It is giving me errors. I created a project in Visual Studio. The header file: [code]#include <iostream> #include <math.h> using namespace std; class xy_coordinate { public: void input(); void print(); … | |
I am making a program where the user has to input text, and the program outputs the appropriate string. I made this program using if else statement, but professor said not to use if and else. So I want to know if I can use the switch statement. I know … | |
I am to create a program in which the user puts in a word and the program displays the definition. The words are 20 words I select. I have a comon idea on how to achieve this, but I never scaned for text before. I know char is for a … | |
The program I am writing displays the velocity and acceleration when the user inputs time. The code I have thusfar is: [CODE][COLOR=#008000] [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<stdio.h> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<math.h> [/COLOR][COLOR=#0000ff]int[/COLOR][COLOR=#000000] main ([/COLOR][COLOR=#0000ff]void[/COLOR][COLOR=#000000])[/COLOR] { [COLOR=#0000ff]int[/COLOR][COLOR=#000000] time,velocity, acceleration;[/COLOR] printf ([COLOR=#800000]"Please input time in seconds: \n"[/COLOR]); scanf_s([COLOR=#800000]"%d"[/COLOR] , &time); velocity = 0.00001* pow(time,3)-.00488* pow (time,2)+.75795*time+181.3566; acceleration … | |
Hey all members, I would like to start off by saying how great the forum is looking thusfar. I am currently learning C++, have experiance with Visual Basic, a medium amount of knowledge of html. I hope to contribute to this community as I already posted my first homework help. … | |
Re: What I do to run the program is Debug> Start without debuggin or Ctrl+F5 |
The End.