Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
This is my first time programming. i have no idea how to tackle this. I think i could take care of the coding if someone could make this clearer and help with working out a pseudocode. Any help would be much appreciated. Here it is:

http://softwareengineering.weebly.com/uploads/5/3/0/9/530935/lab1.pdf
Posted

Here we don't do you own homework. You should try hard doing it yourself, and ask here only when you get stuck.
In this particular assignment a considerable part of the effort should be dedicated on understanding the universe of the problem, that is the behavior of lead acid batteries. This task is completely up to you. You have tounderstand it an try to design a good algorithm. We could help on implementation technical details.
 
Share this answer
 
Comments
Rahul VB 26-Jan-14 0:14am    
Precisely Sir
Imagine your self to be working in a company and your bosses gave you this question, so how would you be tackling this?


What have you tried? where are you stuck? This is your very first time, you should be excited. Grab a pen and a paper, write down an algorithm which comes to your mind after reading the statement.

If you have a good flow chart you can start coding. Realize every thing step by step. Remember one thing the more help you take, the more you will be dependent on people for solutions.

Utilize this problem to develop your logic and skill. Mind starts developing from the very first problem itself.

Your question is :
Quote:
if someone could make this clearer and help with working out a pseudocode


But it should be :

Quote:
I am stuck at this line, whats wrong?


When you reach this level you wont even post where you are stuck.

I read that pdf, its a good one. The very first para says:

Quote:
Programming aspects to get familiarized with:
 The use of decision structures
 The use of repetition structure


Your teacher needs you to be familiar with the above 2 concepts. Dont take it as an assignment take it as a learning task. He wants you to learn them.


Quote:
decision structures

Start reading about if else :

http://www.tutorialspoint.com/cprogramming/c_decision_making.htm[^]



Quote:
repetition structures


http://www.cs.fsu.edu/~myers/c++/notes/control2.html[^]
Use of loops in all languages are same.


Find out how to take a user input from the console. You must know all the formulas related to AH-rating and stuff.

Write down the formula according to user input and translate it to a code. Enough hints start coding.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900