Homework: INF 131 1)Write an algorithm that reads the first and last name of an employee, the number of working hours he/she has performed, and his/her hourly rate. Then calculates and print out his/her first and last name and the salary of that employee. 2) write an algorithm that reads the marks of CA, of TPE, and that of the normal exams for an undergraduate student in a certain unit of value. Then calculates the average of that student in that unit of value. Note that: CA count for 20%, TPE count for 10%, and normal exams count for 70%. The algorithm will be able to tell the student whether or not he has validated his exam or not, and with what reference or grade ( "fair" for an average between or equal to 10 and 11, "fairly good" for an average between or equal to 12 and 13, "good" for an average between or equal to 14 and 15, "very good" for an average between or equal to 16 and 18, and then "Excellent" for an average between or equal to 19 and 20. Good luck! We shall all correct it here on Tuesday evening, after every body have solve!!!
To ME, a character analyst, , THIS specific mathematical orator appears to be VERY superbly talented to the HIGHEST possible degree, in "ALL" perspectives and concepts of algebra & trigonometry BUT could IMPROVE his tutoring style of delivery, by simply pronouncing his words with MORE distinctly different syllable emphasis OR stated differently, by using SLOWER pronunciation that simultaneously, would render his delivery more impressive. THIS man has inherited the character ingredients that permit him to be successful at virtually ANYTHING he sets his mind to accomplish and very probably was parented by similarly talented people whom were attracted to each other by each desiring a companion with an orderly mind.
You have explained it very neatly sir. I am refreshing my thoughts on writing algorithms and drawing flowcharts for different programs which i used to do heavily when i was a student. I am a tutor in early 40s and this helps me to teach the programming for my students as well.
there is an error in problem no. 2 in printing section where you want to print the largest no. the error is if you only want to print the largest variable name then you must write it inside the double quotes, otherwise you need to write format specifier of that variable inside the double quotes, thank you.
please solve this problem Write an algorithm and draw the flowchart that will request from the user to enter 2 integer numbers. If the numbers signs are same (both are positive or both are negative), the algorithm will find and print the average of the two numbers. Otherwise, it will find and print the multiplication of two numbers as an output.
If you are still wondering what is the error, for me the error is not having a variable array but just a single variable, it overwrites the value to the latest. To fix this just have an array like float a [9999] to assign it to handle atleast 9999 values, if you put too much like 9999999 there will be a segmentation fault due to file handling of memory for the 9999999. Then if It's a for i loop just do a [i].
Hi prof, I think the right question/ decision to ask in problem 2 is, is b less than or equal to A, if answer is No, then print A is larger than B. This is because B might be equal to A.
My B.I.L said this to me, if i want to learn Algorithm, i must start from basic first how to use and undertand the flow each of Algorithm first since most of this are composed of mathematics and sometimes while i’m watching this, the old saying is true, the old repentance is true, most of us during our younger years, we wants to cotrol the world, we wants to have more friends, to be cool, to be self centered sometimes until we forgot it more to learn more
Flowchart is much more easier than Pseudocode but less reliable than pseudocode. Since I love drawings, I prefer flowchart than Pseudocode as it deals with shapes and not words.
Write a program in Q Basic to calculate the area and perimeter of 10 different rectangles. Take the length and breadth as input and display the result.( use any loop)
Thank you alot for this Useful video..i have got my exam on algorithms and flowcharts next week..and i want the Algorithm for this piece of Code in c++ (do..while loop): #include using namespace std; int main() { int i=1; int sum=0; do{ cout