Find Jobs
Hire Freelancers

Easy Uni assignment

$30-100 USD

กำลังดำเนินการ
โพสต์ มากกว่า 16 ปีที่ผ่านมา

$30-100 USD

ชำระเงินเมื่อส่งงาน
This is a University assignment, we do need to do the following exercise at C++ There are 6 types of shapes with 4 sides: Square, rectangle, trapezoid, closed shape, parallelogram and undefined. Define struct to a single point (x,y) and on this struct basis define struct to a shape’s side. Now define a new struct with four sides called StShape that will contain besides the sides a string that will contain the shape’s name (out of the six). Read from the file c: [login to view URL] the all shapes data (untill 10 shapes). In each line there are 16 integer numbers which every 4 numbers define one side. (every 2 numbers are the points). Define an array of struct StShape and fill it with the shapes data. You need to do these functions: 1. function that receives array of 4 sides and reveals which type of shape they represent. The function need to give back struct of StShape with the sides data and the shape name. 2. function that receives array of StShape and it’s size and sort the shapes with bubble sort according to their type by this order: closed shape , parallelogram, rectangle, Square, trapezoid and undefined in the end. (use strcmp). 3. function that receives StShape and prints it’s data. With this function you need to show the array after the bubble sort. Ex: -2 -2 -2 1 2 1 2 4 -2 1 2 4 -2 -2 2 1 -------- parallelogram 2 -2 5 1 -4 -1 1 4 1 4 5 1 2 -2 -4 –1 --------- trapezoid remarks: 1. if one shape is defined for more than one shape than define it by whats coming first in the bubble order. 2. cannot assume the sides are parallel to the x and y lines. 3. if two sides are connecting, it is the point of the shape.
รหัสโปรเจกต์: 212874

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

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

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

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

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
หมอบหมายให้:
รูปอวาตาร์ของผู้ใช้
Hi! I have a lot of experience in this type of problems. I can provide you a fully commented code in less than 1 day after you choose me. Regards, Cloe
$40 USD ใน 1 วัน
4.6 (8 รีวิว)
3.1
3.1
3 ฟรีแลนซ์กำลังเสนอราคาโดยเฉลี่ย $75 USD สำหรับงานนี้
รูปอวาตาร์ของผู้ใช้
i can do it. but need escrow.
$100 USD ใน 1 วัน
4.9 (5 รีวิว)
5.3
5.3
รูปอวาตาร์ของผู้ใช้
will be deliver within a quick time. let me know if you are interested.
$85 USD ใน 3 วัน
4.9 (24 รีวิว)
4.4
4.4

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

ปักธงของ UNITED STATES
Houston, United States
0.0
0
เป็นสมาชิกตั้งแต่ ธ.ค. 8, 2006

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

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ 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)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง