Dear friends,
I have a file named "in.txt" with following data:
10
20
30
40
Type: Posts; User: Saeid87
Dear friends,
I have a file named "in.txt" with following data:
10
20
30
40
wow can you please break it down a little bit? I could not get the idea :( maybe a little example please
Edited the title..thanks for informing
Dear Friends, is there a premade function to count reapetance of a characters in a string or an array in C? if not what is your suggested approach to do it?
for example:
the input is: ARIZONA...
Dear friends,
I have an assignment to convert from binary to decimal... I know how to do it but only thing is I need to know how many digits are stored in my variable, for example :
110101
...
oh Sorry I found the problem already. sorry for bothering.
I also edited the code in my first post aswell so it maybe useful for somone.
Dear friends,
I tried to do my homework and came to some ideas and I wrote a program. but it is not working properly. would be nice if you can check it and give some comments.
the orginal...
I managed to write this program, I post here maybe can help others.
/* C PROGRAMING ASSIGNEMENT 4.10 */
/* Saeid Yazdani */
//Includes
#include <stdio.h>
Well guys I think I did it :D
double R_Parallel(double fUin, double fRo) {
// Internal variables for function
int nHelp, nCount = 0; // Help and Counter
double fPRE; //Pralaller...
Thanks mate, I took a while and read your post carefully. you are absloutly right about my way of questioning.
I tried your first code to get the idea, it works prefectly. Now I try to state the...
true, but with this function it will stop after enterin just 1 value, I want it to contine untill a negative value is entered.
Dear friends,
I am trying to make a function to calculate total resistance in of parallel reistors, this function should keep asking for entering the resistors until a negative number is entered....
Hi,
the structure should is like this, after running the program it will ask for two variables which are a Voltage and a Resistor:
input Uin and Ro =>
Then program starts to ask for parallel...
Dear friends,
I have a school assignement in C, which asks for doing some parallel and series resistant calculation, I know how to do that but my problem is that the assignment asked to update the...