Create an array

Assignment Help C/C++ Programming
Reference no: EM133051377

Question: You just computed final scores for all of the students in your classroom and would like to tell each student their ranking when compared to the other students in your class. For example, if Remi's score is 14, Yan's score is 2 and Maria's score is 20 then Remi's ranking is 2 since he has the second highest score, Yan's ranking is 3 since he has the lowest score and Maria's ranking is 1 since she has the highest score amongst the three students.

You'll be given the following inputs: first the number of students, then all of the students' final scores, then finally, all of the students' names.
Be sure to look at the example below.

Your output should be one line per student, with each line displaying the student's name followed by "rank is" followed by the student's rank.

The order in which names are displayed in the output should be the same as the order given in the input. The ranking starts at 1 (meaning this student has the highest score), 2 for the second highest grade etc.

Note that no name has more than 50 characters and there are no more than 30 students.

ask the score for each student to create a array

ask for the names and print the ranks

Attachment:- Students ranking.rar

Reference no: EM133051377

Questions Cloud

Executive leadership : Are you as a leader able to maintain a personal friendship with some member(s) of your work group or a team without creating the perception of favoritism?
How does teamwork affect innovation in company : As an example of a design and consulting firm, the firm uses a design thinking approach to design products, services, and digital experiences.
How much is the company adjusted unamortized bond discount : Geisha Company issued for P938,514 its 9% P1,000,000 face value bonds to mature on July 1, 2029. How much is the company adjusted unamortized bond discount
Explain the international documentations : A. Research and explain the following International Documentations based on Global Value Chain:
Create an array : Ask the score for each student to create a array - Note that no name has more than 50 characters and there are no more than 30 students.
Data problem or cultural problem : Why do so many organizations spend money on enterprise systems yet they seldom use them to their maximum potential? Is it a data problem or a cultural problem?
Record all the necessary journal entries for the revaluation : On 30 June 2021, Peter Ltd obtains a fair value for equipment of $50 000. Record all the necessary journal entries for the revaluation
Are good managers always good leaders : 1. Are good managers always good leaders? Why or why not.
Crew resource management : Explain the phrases "authority with participation" and "assertiveness with respect" in terms of Crew Resource Management.

Reviews

len3051377

12/20/2021 9:30:04 PM

I am in the section of sort and searching with arrays please you must not use thing like this temp = (char*)calloc(30, sizeof(char)); only array sort and searching

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd