Find Jobs
Hire Freelancers

C Project for College Homework

$30-5000 USD

ที่ทำเสร็จแล้ว
โพสต์ ประมาณ 22 ปีที่ผ่านมา

$30-5000 USD

ชำระเงินเมื่อส่งงาน
I NEED 2 QUESTIONS TO BE ANSWERED FOR A HOMEWORK ASSIGNMENT FOR MY C++ CLASS: DEADLINE: ========= SUBMITTED BY MARCH 28 NOON UNITED STATES EST QUESTION 1: =========== Write a program to figure the percentile rank of a grade in a list of grades. We will simulate a small sample of SAT scores, which range from 200 to 800. PercentileRank is the number that represents a score's rank relative to the number of scores below it. If the PercentileRank is 74.0, 74% of the students received a grade below the score, and 26% received the same score or better. The formula is represented by PercentileRank = (b / n - 1) * 100, where b is the number of scores less than the current score and n is the total number of scores. Remember how C divides integers, so be careful. First, use the rand( ) function to fill an array of 50 scores with numbers between 200 and 800, inclusively. Then, sort the array in descending order. Cycling through the sorted array from the greatest score downwards, figure each score's PercentileRank, and place it into a parallel array of 50 float scores. The PercentileRank should be stored as a percent quantity, and displayed with 1 decimal place. Display the scores and PercentileRanks as 10 rows of 5 pairs of numbers across the screen. This assignment is meant to be a pointer exercise. Therefore, you must declare two arrays in main( ), and pass these arrays into functions which interpret the array name as pointers. Write at least three functions. One, to fill the score array with the random numbers; a second, to sort the array in descending order, and a third, to fill the float array with the PercentileRank calculation. These functions should not use array notation, but exclusively pointer notation. QUESTION 2 is attached! ============================== ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. QUESTION 2: ============ Pointer Sorting Exercise The Open School admits children to its kindergarten in the order in which they apply. However, most of the staff's use of the list of applicants is made easier if the list is alphabetized. Write a program that reads in a list of names in the order that applications were received and creates an array of pointers through which the list can be accessed in alphabetical order. In that way two orderings can be maintained with just one original list. The applicants should be entered into a two dimensional array, char applicants[5] [45] in the order that they applied. Read in at least five names in the format, last name first comma, then first name. Then set up an array of pointers, char *alpha[5], where you initialize the array to point to the original list of names. Each location in the array alpha[] will get the address of the corresponding string in the applicant list. So alpha[0] will hold the address of the name in applicants[0]. Then call a sort function that sorts the strings using strcmp( ) and looking at the actual strings whose starting addresses are in the array of pointers, but swaps only the addresses to achieve the sort. In that way, the original list should not be changed in any way. The only changes are in the array of pointers, where the alpha[0] will have the address of the string that comes first alphabetically. Please write at least two functions: one, the sort function, in which you should only pass in the pointer array, and second, a function that prints out the two lists side by side. For the second function, pass in both the 2D array and the pointer array, and print them out so that it is clear that your sort did not change the original list. So if the original list has Bates, Norman and Abbott, Jane in the first two positions, your print out will be: Original List Alphabetical List Bates, Norman Abbott, Jane Abbott, Jane Bates, Norman I NEED BOTH THE PROBLEM SOLVED, I NEED TO SUBMIT THEM BY MARCH 28 Noon UNITED STATES EST. ## Platform IT SHOULD BE COMPILED IN MICROSOFT VISUAL C++ 6.0 ## Deadline information MUST BE COMPLETED BY NOON MARCH 28.
รหัสโปรเจกต์: 2843863

เกี่ยวกับโปรเจกต์

9 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 22 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
หมอบหมายให้:
รูปอวาตาร์ของผู้ใช้
See private message.
$7 USD ใน 14 วัน
5.0 (41 รีวิว)
5.4
5.4
9 ฟรีแลนซ์กำลังเสนอราคาโดยเฉลี่ย $115 USD สำหรับงานนี้
รูปอวาตาร์ของผู้ใช้
See private message.
$850 USD ใน 14 วัน
4.5 (22 รีวิว)
5.8
5.8
รูปอวาตาร์ของผู้ใช้
See private message.
$25.50 USD ใน 14 วัน
4.8 (43 รีวิว)
5.4
5.4
รูปอวาตาร์ของผู้ใช้
See private message.
$12.75 USD ใน 14 วัน
4.9 (69 รีวิว)
4.2
4.2
รูปอวาตาร์ของผู้ใช้
See private message.
$18.70 USD ใน 14 วัน
4.7 (31 รีวิว)
3.2
3.2
รูปอวาตาร์ของผู้ใช้
See private message.
$34 USD ใน 14 วัน
4.4 (6 รีวิว)
1.6
1.6
รูปอวาตาร์ของผู้ใช้
See private message.
$42.50 USD ใน 14 วัน
5.0 (4 รีวิว)
1.3
1.3
รูปอวาตาร์ของผู้ใช้
See private message.
$25.50 USD ใน 14 วัน
5.0 (2 รีวิว)
0.0
0.0
รูปอวาตาร์ของผู้ใช้
See private message.
$15.30 USD ใน 14 วัน
0.0 (0 รีวิว)
0.0
0.0

เกี่ยวกับลูกค้า

ปักธงของ PAKISTAN
Pakistan
0.7
2
เป็นสมาชิกตั้งแต่ มี.ค. 27, 2002

การยืนยันลูกค้า

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง