Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

TASK Your task is to design and implement a program that manages student information stored in three separate files, and extracts a report for each student, and a summary for each course. The content of the files is as follows: • students.txt – This file contains unique student records consisting of the student identity number, surname and first name. • courses.csv – This file contains unique course records in a comma separated (.csv) file. Each record contains a course code, course description/title and the weighting of the continuous assessment (CA) and examination marks. The weighting/rate is a value between 0 and 1, and the sum of CA and examination weighting must be equal to 1. • enrolments.txt – Each student can register/enrol in one or more courses, and each course can be taken by many students. This file contains the details of each student registration/enrolment including the student identity number, course code, the CA mark and examination mark. 



Write a program that will allow a student to compute for his equivalent semestral grade.

The program should ask the user should input his/her first name, last name, middle initial, and student number.

After, inputting everything above, the output will clear the current screen and a new screen should open. On the new screen, the user will then be greeted "Welcome, <firstname>! The program will then ask for the prelim grade, midterm grade and final grade of the student. The program should only accept grades 100 and below. After getting the three grades, the program should compute for the semestral grade. The computation of the semestral grade is as follows: 30%*PrelimGrade + 30%*midtermgrade + 40%finalgrade

After inputting all the grades, the screen should clear again and will proceed to another screen.


Remarks should be "Passed" or "Failed" Only.

Hint You may use the relational operators "AND(&&)" and "OR(||)" for your conditions.



Can you identify if Cody's name is spelled right? If so, then make a program that accepts four one-letter strings separated by space and print "Correct" if the inputted strings, combined in order, spell the name Cody correctly. If not, print "Wrong". It doesn't matter if it's in uppercase or lowercase, as long as it's spelled correctly, it's considered correct.


Now, will you take on this task?


input

1.First Character

2.Second Character

3.Third Character

4.Fourth Character


Create a program that will convert peso value into 5 different currency using functions. Let the user input the peso value and select a specific currency based on the menu.

Can you identify if Cody's name is spelled right? If so, then make a program that accepts four one-letter strings separated by space and print "Correct" if the inputted strings, combined in order, spell the name Cody correctly. If not, print "Wrong". It doesn't matter if it's in uppercase or lowercase, as long as it's spelled correctly, it's considered correct.




Now, will you take on this task?


input

1.First Character

2.Second Character

3.Third Character

4.Fourth Character


Create a program that will perform the default constructor.


Write a computeSphere() function that returns the volume and surface area. Implement a

main function which reads the radius, calls the above function and prints the result.


Create at least (2) programming applications/projects that are great to use with pointers.

Explain each line of code how the pointer passes arguments or modifies the function in another.


A file contains a list of telephone number in following form.(10 Marks) 

    Aman     9915336423 

    Raj       9915336429 

    …..     ………. 

   Assume 10 such entries. ( Each students entry should be different) 


Pyramid Schemes

by CodeChum Admin

They said pyramids were created by aliens, so if you can make a pyramid you might be able to qualify as an alien.


Instructions:

  1. In the code editor, you are provided with a main() function that asks the user for an integer input n, and passes this value to the function call of the generatePattern() function.
  2. Your task is to implement this generatePattern() function which has the following description:
  3. Return type - void
  4. Function name - generatePattern
  5. Parameters - 1 integer n
  6. Description - this function prints a triangular pattern of letter T's based on the value of n. For more information, refer to the output in the test cases
  7. DO NOT EDIT ANYTHING IN THE MAIN

Input


1. Integer n

Output


Enter·n:·4
T
TT
TTT
TTTT




LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS