I already finished it, sorry... :)
Type: Posts; User: Arbyn Acosta
I already finished it, sorry... :)
Guys I have an assignment on programming that needs to implement the eigenvalues algorithm in C. The maximum MATRIX is 5X5 and the minimum is 2X2.
My code already checks the upper half of the...
I know that it wont detect an equation like "4x^2 -4xy + 4y^2 = 3" the problem is that I don't know what to do. That is why I'm asking and I am not confused by using x as a variable and as a...
How can I make a program that accepts equations then prints out if "CIRCLE", "ELLIPSE", "PARABOLA" or "HYPERBOLA". This is my first try. The problem is that!!! It won't work. I think this is my 3rd...
Like Adak said there a lot of ways to do this program
So here's my approach :D
Thanks for all your help!
/************************************************************************** *...
Apparently my professor's PDF is not fully correct. The real instruction is the the letters J,U,S,T,D,O,I,T is found in the users input string without having them in order. So here's my revised code....
Good call. But then how could I detect ENTER or backspace in getch() in conio.h?
What are the ways to get a string input from user that stops accepting input when the input's length is already 30 without the need to press ENTER or any other keys. Maybe you can show some code?
...
I think Abak is right. We should create a program that doesn't completely depend on a standard function because this is an educational assignment which forces the students to create their own way to...
My personal interpretation of the instruction is that the letters should be found consecutively but not necessarily together.
J... U... S... T... D... O... I... T...
Then it would display "Just...
Wait. I liked the idea of sana.iitkgp but I want to ask further readers of what your understanding to this part of the instruction:
"find set of letters that will produce the string “just do it”...
Make and run a program that will accept a user input of not more than 50 characters and find set of letters that will produce the string “just do it” consecutively. The program should output the...
I know that oogabooga but our professor's instruction is to print it per line.
std10093 and Adak
Thank you for the welcome but std10093's code is semi-working... The only problem is that when the...
The goal is to produce asterisks with a line number based on the input of the user. For Example:
Enter a positive integer: 8
*
**
* *
****
* *
I know those things but I want to learn how this things work and be able to recreate it with on my own way. The code is already updated in the 1st post :)
That's not really the problem. I just wanted users to give me an input. But even if I substitute it with a constant value, the core still gets dumped...
The problem in my simple learning program is the, basically, it doesn't work and it prints out Segmentation fault (core dumped). I just want to know why it does that and what are the possible...