Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Pro Blog
  • Users
  • Groups
  • Unsolved
  • Solved
Collapse
Secnto AI
  1. Secnto AI
  2. Categories
  3. Virtual University
  4. CS411 - Visual Programming
  5. CS411 Assignment 1 Solution and Discussion
CS411 Assignment 1 Solution and Discussion
M
Re: CS411 Assignment 1 Solution and Discussion Visual Programming (CS411) Assignment # 1 (GRADED) Total marks = 20 Due Date = 1st June 2020 Please carefully read the following instructions before attempting the assignment. First of all listen to the video lectures. After that consult handouts and recommended books to clarify your concepts. You are supposed to submit your complete solution project as a single file (i. e. zip or RAR). Any other formats like scan images, PDF, bmp, docx etc. will not be accepted. It should be clear that your assignment would not get any credit if: • The assignment is submitted after due date. • The submitted assignment does not open or file is corrupt. • The assignment is copied. Note that strict action would be taken if the submitted assignment is copied from any other student. Both students will be punished equally. Important Note: Assignment comprises of 20 Marks. Note that no assignment will be accepted after due date via email in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline and try to upload Solutions at least 02 days before the deadline to avoid any inconvenience. For any query please contact: CS411@vu.edu.pk Problem Statement: You are required to create a C# application Console using Visual Studio with the following functional requirements: Create 4 classes: Bowler 2.Spinner 3.Medium 4.Fast Each class will have a function named “speed” which will output speed as specified by class name. [image: udyhToo.png] You will program this as follows • You will take as an input the last two digit of your VUID. For example your ID is BC123456789 so you take here “89” as input and program will decide which range it belongs to i.e. Fast, Medium, Spinner • For this you create bowler type object and later on initialize it with spinner, medium and fast bowler as per below provided ranges.  Spinner pace bowler has range of 00 to 33  Medium pace bowler has range of 34 to 66  Fast pace bowler has range of 67 to 100 • If bowler pace is not in the specified range then the object type must be bowler. Further, if any user tries to enter alphabetical value, it should through Exception and let the user to enter a new numeric value. Note: Program must show your own VUID usage. Submission details Following Files Must be submitted in a single zip or rar file. • .C# code file (file name should be your VUID) • A .gif file which shows only “execution” of your Application (For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well) You are not required to submit the complete project, only copy required file from project folder. If you do not submit any of the above-mentioned file you will be awarded Marks partially.
CS411 - Visual Programming
CS411 GDB 1 Solution and Discussion
danish hafeezD
Re: CS411 GDB 1 Solution and Discussion Total Marks 5 Starting Date Monday, February 08, 2021 Closing Date Tuesday, February 09, 2021 Status Open Question Title Graded Discussion Board Question Description GDB STATEMENT Suppose you need to develop an interactive social networking application in which users can share their adventures and experiences. This App should be user friendly, secure, have a modern UI with an optimized usage and performance, and solely developed for Windows 10. According to the specifications mentioned above, which technology would you consider best for this specific scenario: Windows Form, WPF or UWP? Justify your selection with logical reasoning that contains pros and cons of all these technologies. Important Instructions: Please note that no extra time will be given for posting comments on GDB. Use the font style “Times New Roman” with font size “12”. Do not copy or exchange your answer with other students. Two identical comments will be marked zero. Your comments should not exceed 200 words.
CS411 - Visual Programming
CS411 Assignment 2 Solution and Discussion
zaasmiZ
Re: CS411 Assignment 2 Solution and Discussion Visual Programming (CS411) Assignment # 2 (GRADED) Total marks = 20 Due Date = 17th June 2020 Please carefully read the following instructions before attempting the assignment. First of all listen to the video lectures. Lecture No.8 to Lecture No.15 are included in assignment After that consult handouts and recommended books to clarify your concepts. You are supposed to submit your complete solution project as a single file (i. e. zip or RAR). Any other formats like scan images, PDF, bmp, docx etc. will not be accepted. It should be clear that your assignment would not get any credit if: • The assignment is submitted after due date. • The submitted assignment does not open or file is corrupt. • The assignment is copied. Note that strict action would be taken if the submitted assignment is copied from any other student. Both students will be punished equally. Important Note: Assignment comprises of 20 Marks. Note that no assignment will be accepted after due date via email in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline and try to upload Solutions at least 02 days before the deadline to avoid any inconvenience. For any query please contact: CS411@vu.edu.pk Problem Statement: You are required to create a C# Console application using Visual Studio with the following functional requirements: Consider that you are going to generate the electricity bill of your own home. To generate this bill you need to consider following requirements. • You will take previous meter reading as input and this previous meter reading will be any three consecutive digits of your VUID from which at least two digits should be nonzero. For example, Your VUID is BC123056789 so you can take 123,056 or 789 as your input. [image: q45Vq3Y.png] • You will use current meter reading as 1000(fixed). No need to take it as input from user. • While you input your digits on screen a windows form will appear which will perform the functionality of Event occurrence that will generate “Total Bill”. You can set location of button on screen according to your choice. [image: KWTu14u.png] • First you will generate “Unit consumed for current bill”. For this calculation you will subtract the previous meter reading from the current meter reading to find the consumed units and display the consumed units on window form. It will be displayed as follows [image: maEp0jM.png] • On second step you will perform the “Total bill” calculation considering the following conditions according to your generated units of current month and then display the Generated bill on windows form. o If the consumed units are less than or equal to 300 then charge cost is 10 rupees per unit. o If the consumed units are greater than 300 and less than equal to 500 then you will charge 10 rupees for 300 units and 15 rupees for units above 300. For example, if consumed units are 400 then calculation for first 300 units cost per unit will be 10 and remaining 100 units cost will be 15 per unit. o If the consumed unit is greater than 500 then you will charge 10 rupees for 300 units, 15 rupees for 200 units and 20 rupees for those units which are above 500. For example, if consumed unit is 700 then calculation for first 300 units cost per unit will be 10 per unit, for 200 units cost will be 15 per unit and other 200 units which are above 500 cost 20 rupees per unit. o In this way you have to find cost of total consumed unit considering above three conditions. Sample output: [image: XlZvr39.png] Note: You will use built-in delegate to pass the method (method name should be your VUID) and all the bill generation calculation will be performed under this method body. Submission details Following Files Must be submitted in a single zip or rar file. • .C# code file (file name should be your VUID) • A .gif file which shows only “execution” of your Application (For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well) You are not required to submit the complete project, only copy required file from project folder. If you do not submit any of the above-mentioned file you will be awarded Marks partially. [image: sht2xhe.gif]
CS411 - Visual Programming
CS411 GDB 1 Solution and Discussion
zareenZ
CS411 GDB 1 Solution and Discussion
CS411 - Visual Programming
CS411 Assignment 3 Solution and Discussion
zareenZ
Visual Programing (CS411) Assignment#03 (GRADED) Total marks = 20 Deadline Date = 23-01-2020 Please carefully read all the instructions carefully before attempting the assignment. Problem Statement: Develop a WPF application in C# with the following functionality: • Create a Thread using threadpool. • It will also utilize the stopwatch for thread time execution calculation. • When the application starts the following window appears: [image: vZSHR3a.png] One Text Box: Your application will have textbox for input field along with label: Student ID(Last 4 digit) This will input Last Four digit of your VUID i.e. VUID:123456789 It will take6789 as input One Button: Start writing to file (This button will write data to text file named: output.txt) One Label: A final label for showing the time consumed by threadpool to write in text file Working Procedure: • Clicking the button “Start writing to file “will create the thread using threadpool and start the timer (Stopwatch). • This thread will execute a process having a for loop • For loop will execute number of times enterd in textbox (VUID last 4 digit value) • Then Label will show time consumed while writing into text file. Write your own VU id in the application name and id fields while creating .gif file, otherwise your assignment will not be accepted. Output.gif has been attached with this Assignment file please observe this file carefully your program’s output must be like this output file. Submission details Following Files Must be submitted in a single zip or rar file. • .C# code file • .XAML File (Front End file) • Text file (named as your (output.txt) • A .gif file which shows Run phase of your Application (For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well) You are not required to submit the complete project, only copy these three files from project folder. Please note if you submit doc file you will be awarded 0 marks. If you do not submit any of the above mentioned file 25% marks per file will be deducted. [image: HjlVhuQ.gif]
CS411 - Visual Programming
CS411 Assignment 2 Solution and Discussion
zareenZ
Visual Programing (CS411) Assignment#02 (GRADED) Total marks = 20 Deadline Date = 03-12-2019 Please carefully read all the instructions carefully before attempting the assignment. Problem Statement: You are required to create a WPF application, title must be your VU ID: One Text Box: Your application will have textbox for input field along with label: Student ID One Button: Search (This button will read data from text file) One Label: A final label for showing Student correct and complete name against VUID or a failure note. (“VUID not found”) Clicking Search button will read the ID from text box and search text file, the file name of .text file will be your study program.txt, for example if your study program is BSCS then file name must be bscs.txt. Please Note that your text file will be with at least 3 records of random valid VUIDs along with names which includes your own Valid VU ID and name. Below is the text file template (this is just example you can change text file format according to requirements) Bc12345678-Ahmad Ali MC34567890-Sher Khan BC123678954-Haider Write your own VU id in the application name and id fields while creating .gif file, otherwise your assignment will not be accepted. Output.gif has been attached with this Assignment file please observe this file carefully your program’s output must be like this output file. Submission details Following Files Must be submitted in a single zip or rar file. • .C# code file • .XAML File (Front End file) • Text file (named as your (program name.txt) • A .gif file which shows Run phase of your Application (For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well) You are not required to submit the complete project, only copy these three files from project folder. Please note if you submit doc file you will be awarded 0 marks. If you do not submit any of the above mentioned file 25% marks per file will be deducted. [image: 60axpJ4.gif]
CS411 - Visual Programming
CS411 Assignment 1 Solution and Discussion
zareenZ
Visual Programing (CS411) Assignment#01 (GRADED) Total marks = 20 Deadline Date = 18-11-2019 Please read all the instructions carefully before attempting the assignment. You are required to create a C# application Console using Visual Studio. Problem Statement: You will declare a new class name as “Student” then you will perform the Operator Overloading for following binary operators: operator *operator: For this you will take Second last digits and the last digit of your VU id as input. For example, if your VU id is bc12345678 you will take 7 and 8. You will write then following functions in class “student: For + operator overloading 1st function: concatenate last two digits Example: Your id is BC12345678 1st function 7+8=78 For * operator overloading 2nd function: take power of 2nd last digit the times last digit is Example: your ID is BC12345678 2nd function 78=5,764,801 Note: Program must show your own VUID usage. Submission details Following Files Must be submitted in a single zip or rar file. • .C# code file (file name should be your VUID) • A .gif file which shows working of your Application (For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well) You are not required to submit the complete project, only copy these three files from project folder. Please note if you submit doc file you will be awarded 0 marks. If you do not submit any of the above-mentioned file you will be awarded 0 Marks.
CS411 - Visual Programming

CS411 Assignment 1 Solution and Discussion

Scheduled Pinned Locked Moved Solved CS411 - Visual Programming
cs411assignment 1solutiondiscussionspring 2020
5 Posts 2 Posters 3.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    moaaz
    Cyberian's Gold
    wrote on last edited by
    #1

    Re: CS411 Assignment 1 Solution and Discussion

    Visual Programming (CS411)
    Assignment # 1 (GRADED)
    Total marks = 20 Due Date = 1st June 2020
    Please carefully read the following instructions before attempting the assignment.

    1. First of all listen to the video lectures.
    2. After that consult handouts and recommended books to clarify your concepts.
    3. You are supposed to submit your complete solution project as a single file (i. e. zip or RAR). Any other formats like scan images, PDF, bmp, docx etc. will not be accepted.
    4. It should be clear that your assignment would not get any credit if:
      • The assignment is submitted after due date.
      • The submitted assignment does not open or file is corrupt.
      • The assignment is copied. Note that strict action would be taken if the submitted assignment is copied from any other student. Both students will be punished equally.

    Important Note:
    Assignment comprises of 20 Marks. Note that no assignment will be accepted after due date via email in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline and try to upload Solutions at least 02 days before the deadline to avoid any inconvenience.
    For any query please contact: CS411@vu.edu.pk
    Problem Statement:
    You are required to create a C# application Console using Visual Studio with the following functional requirements:
    Create 4 classes:

    1. Bowler 2.Spinner 3.Medium 4.Fast

    Each class will have a function named “speed” which will output speed as specified by class name.

    61de52b5-256a-4c18-bdc1-b9b80335cdbe-image.png
    You will program this as follows

    • You will take as an input the last two digit of your VUID. For example your ID is BC123456789 so you take here “89” as input and program will decide which range it belongs to i.e. Fast, Medium, Spinner
    • For this you create bowler type object and later on initialize it with spinner, medium and fast bowler as per below provided ranges.
     Spinner pace bowler has range of 00 to 33
     Medium pace bowler has range of 34 to 66
     Fast pace bowler has range of 67 to 100
    • If bowler pace is not in the specified range then the object type must be bowler.
    Further, if any user tries to enter alphabetical value, it should through Exception and let the user to enter a new numeric value.

    Note: Program must show your own VUID usage.

    Submission details
    Following Files Must be submitted in a single zip or rar file.
    • .C# code file (file name should be your VUID)
    • A .gif file which shows only “execution” of your Application (For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well)
    You are not required to submit the complete project, only copy required file from project folder.
    If you do not submit any of the above-mentioned file you will be awarded Marks partially.

    Discussion is right way to get Solution of the every assignment, Quiz and GDB.
    We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
    Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
    %(red)[NOTE: Don't copy or replicating idea solutions.]

    How to Get Earning from Cyberian

    Quiz Copy Solution
    Mid and Final Past Papers
    Live Chat

    For instructions on how to use this Cyberian discussion board

    1 Reply Last reply
    0
    • zaasmiZ Offline
      zaasmiZ Offline
      zaasmi
      Cyberian's Gold
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • zaasmiZ Offline
        zaasmiZ Offline
        zaasmi
        Cyberian's Gold
        wrote on last edited by zaasmi
        #3
        using System;
        using System.Collections.Generic;
        using System.Linq;
        using System.Text;
        
        namespace bc160
        {
        
            class Bowler
            {
                public virtual void speed()
                {
                    Console.WriteLine("Only enter last two digit your id");
        
                }
            }
        
            class Spinner : Bowler
            {
                public override void speed()
                {
                    Console.WriteLine("spinner pace bolwer");
        
                }
            }
        
            class Mediam : Bowler
            {
                public override void speed()
                {
                    Console.WriteLine("Mediam pace bolwer");
        
                }
            }
        
            class Fast : Bowler
            {
                public override void speed()
                {
                    Console.WriteLine("Fast pace bolwer");
        
                }
            }
        
        
            class Program
            {
                static void Main(string[] args)
                {
        
                    Bowler b1 = new Bowler();
        
                enter:
                    Console.WriteLine("Enter last two digit your id");
                    String num = Console.ReadLine();
                    try
                    {
                        int vuid = Int32.Parse(num);
                        if (vuid >= 00 && vuid <= 33)
                        {
                            b1 = new Spinner();
                            b1.speed();
                        }
                        else if (vuid > 33 && vuid <= 66)
                        {
                            b1 = new Mediam();
                            b1.speed();
                        }
                        else if (vuid > 66 && vuid <= 100)
                        {
                            b1 = new Fast();
                            b1.speed();
                        }
                        else
                        {
                            b1.speed();
                        }
                    }
                    catch (FormatException)
                    {
                        Console.WriteLine("Enter an integer number only", num);
                        goto enter;
                    }
                    Console.ReadKey();
                }
            }
        }
        

        Complete Solution File Spring 2020_CS411_1_SOL

        1 Reply Last reply
        0
        • zaasmiZ Offline
          zaasmiZ Offline
          zaasmi
          Cyberian's Gold
          wrote on last edited by
          #4

          e65f2192-00ef-48b9-badf-5e82a47c3b60-image.png
          Visual Programming (CS411)
          Assignment # 01
          Total marks = 20

          Deadline Date:
          9th December, 2021

          Please carefully read the following instructions before attempting assignment.
          RULES FOR MARKING
          It should be clear that your assignment would not get any credit if:
          • The assignment is submitted after the due date.
          • The submitted assignment does not open or file is corrupt.
          • Strict action will be taken if submitted solution is copied from any other student or from the internet.

          Lectures:

          • Lectures 1 to 6 are covered in this assignment
          NOTE
          No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.
          If you people find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.
          For any query, feel free to email at: cs411@vu.edu.pk

           (Marks 20)
          

          Problem Statement:
          You are required to create a C# Console application using Visual Studio.
          Your code should be able to calculate price for sacrificial animals that can be goat, sheep and camel separately while using the concept of POLYMORPHISM.
          • Your code should work in such a way that you need to create 3 classes, one parent class i.e. Animal and other three derived classes that will be goat, sheep and camel.
          • The function that needs to be override would be of Price Calculation.
          • So, your code should work in such a way that at first you should enter the last NUMERIC character of your vu id as a number of animals you want to buy. (Note: You should also check if the last numeric character of your vu id is zero then your code should increment it with 1 so in any case your code should atleast buy one animal). After that, you should be asked for the first five numeric characters of your VUID which will be later used as a rent. Rent will be included in the price of animal that we will hard code.
          • Now you need to make a menu/options as shown in the screenshot below, which will ask you if you want to calculate price for the sheep then press 1, if you want to calculate price for goat press 2, if you want to calculate price for camel then press 3, OR if you want to quit simply press 0 (Note: Your Loop should break when user presses 0)
          • Your loop should run exactly the same number of times as you have entered for the number of animals you want to buy i.e. last numeric character of your vu id.
          • You can use hard-coded values for the price of sheep, goat and camel like 50,000, 80,000, 100,000 respectively.
          • Formula to calculate price is: Total Price = rent+price (according to the animal selected)
          • Your output should be exactly same as shown in the screenshot below.
          Required Output:
          6ce1968f-49ce-497e-92b2-a050740f19c3-image.png

          Note:
          DO REMEMBER that you must use your VUID as an input in this program.

          Submission details
          Following Files Must be submitted in a single zip or rar file.
          • .cs code file (file name should be your VUID)
          • Screenshot of your output.
          You are not required to submit the complete project, only copy required file from project folder.
          If you do not submit any of the above-mentioned file you will be awarded Marks partially.

          “The End”

          zaasmiZ 1 Reply Last reply
          0
          • zaasmiZ zaasmi

            e65f2192-00ef-48b9-badf-5e82a47c3b60-image.png
            Visual Programming (CS411)
            Assignment # 01
            Total marks = 20

            Deadline Date:
            9th December, 2021

            Please carefully read the following instructions before attempting assignment.
            RULES FOR MARKING
            It should be clear that your assignment would not get any credit if:
            • The assignment is submitted after the due date.
            • The submitted assignment does not open or file is corrupt.
            • Strict action will be taken if submitted solution is copied from any other student or from the internet.

            Lectures:

            • Lectures 1 to 6 are covered in this assignment
            NOTE
            No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.
            If you people find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.
            For any query, feel free to email at: cs411@vu.edu.pk

             (Marks 20)
            

            Problem Statement:
            You are required to create a C# Console application using Visual Studio.
            Your code should be able to calculate price for sacrificial animals that can be goat, sheep and camel separately while using the concept of POLYMORPHISM.
            • Your code should work in such a way that you need to create 3 classes, one parent class i.e. Animal and other three derived classes that will be goat, sheep and camel.
            • The function that needs to be override would be of Price Calculation.
            • So, your code should work in such a way that at first you should enter the last NUMERIC character of your vu id as a number of animals you want to buy. (Note: You should also check if the last numeric character of your vu id is zero then your code should increment it with 1 so in any case your code should atleast buy one animal). After that, you should be asked for the first five numeric characters of your VUID which will be later used as a rent. Rent will be included in the price of animal that we will hard code.
            • Now you need to make a menu/options as shown in the screenshot below, which will ask you if you want to calculate price for the sheep then press 1, if you want to calculate price for goat press 2, if you want to calculate price for camel then press 3, OR if you want to quit simply press 0 (Note: Your Loop should break when user presses 0)
            • Your loop should run exactly the same number of times as you have entered for the number of animals you want to buy i.e. last numeric character of your vu id.
            • You can use hard-coded values for the price of sheep, goat and camel like 50,000, 80,000, 100,000 respectively.
            • Formula to calculate price is: Total Price = rent+price (according to the animal selected)
            • Your output should be exactly same as shown in the screenshot below.
            Required Output:
            6ce1968f-49ce-497e-92b2-a050740f19c3-image.png

            Note:
            DO REMEMBER that you must use your VUID as an input in this program.

            Submission details
            Following Files Must be submitted in a single zip or rar file.
            • .cs code file (file name should be your VUID)
            • Screenshot of your output.
            You are not required to submit the complete project, only copy required file from project folder.
            If you do not submit any of the above-mentioned file you will be awarded Marks partially.

            “The End”

            zaasmiZ Offline
            zaasmiZ Offline
            zaasmi
            Cyberian's Gold
            wrote on last edited by
            #5

            @zaasmi said in CS411 Assignment 1 Solution and Discussion:

            e65f2192-00ef-48b9-badf-5e82a47c3b60-image.png
            Visual Programming (CS411)
            Assignment # 01
            Total marks = 20

            Deadline Date:
            9th December, 2021

            Please carefully read the following instructions before attempting assignment.
            RULES FOR MARKING
            It should be clear that your assignment would not get any credit if:
            • The assignment is submitted after the due date.
            • The submitted assignment does not open or file is corrupt.
            • Strict action will be taken if submitted solution is copied from any other student or from the internet.

            Lectures:

            • Lectures 1 to 6 are covered in this assignment
            NOTE
            No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.
            If you people find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.
            For any query, feel free to email at: cs411@vu.edu.pk

             (Marks 20)
            

            Problem Statement:
            You are required to create a C# Console application using Visual Studio.
            Your code should be able to calculate price for sacrificial animals that can be goat, sheep and camel separately while using the concept of POLYMORPHISM.
            • Your code should work in such a way that you need to create 3 classes, one parent class i.e. Animal and other three derived classes that will be goat, sheep and camel.
            • The function that needs to be override would be of Price Calculation.
            • So, your code should work in such a way that at first you should enter the last NUMERIC character of your vu id as a number of animals you want to buy. (Note: You should also check if the last numeric character of your vu id is zero then your code should increment it with 1 so in any case your code should atleast buy one animal). After that, you should be asked for the first five numeric characters of your VUID which will be later used as a rent. Rent will be included in the price of animal that we will hard code.
            • Now you need to make a menu/options as shown in the screenshot below, which will ask you if you want to calculate price for the sheep then press 1, if you want to calculate price for goat press 2, if you want to calculate price for camel then press 3, OR if you want to quit simply press 0 (Note: Your Loop should break when user presses 0)
            • Your loop should run exactly the same number of times as you have entered for the number of animals you want to buy i.e. last numeric character of your vu id.
            • You can use hard-coded values for the price of sheep, goat and camel like 50,000, 80,000, 100,000 respectively.
            • Formula to calculate price is: Total Price = rent+price (according to the animal selected)
            • Your output should be exactly same as shown in the screenshot below.
            Required Output:
            6ce1968f-49ce-497e-92b2-a050740f19c3-image.png

            Note:
            DO REMEMBER that you must use your VUID as an input in this program.

            Submission details
            Following Files Must be submitted in a single zip or rar file.
            • .cs code file (file name should be your VUID)
            • Screenshot of your output.
            You are not required to submit the complete project, only copy required file from project folder.
            If you do not submit any of the above-mentioned file you will be awarded Marks partially.

            “The End”

            https://www.youtube.com/watch?v=3JFMvIzs8IM

            1 Reply Last reply
            0

            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            How to Build a $1,000/Month PAK VS BAN Live Live Cricket Streaming
            File Sharing
            Earn with File Sharing

            1

            Online

            3.0k

            Users

            2.8k

            Topics

            8.2k

            Posts
            solution
            1235
            discussion
            1195
            fall 2019
            813
            assignment 1
            428
            assignment 2
            294
            spring 2020
            265
            gdb 1
            238
            assignment 3
            79
            • PM. IMRAN KHAN
              undefined
              4
              1
              4.0k

            • Are the vaccines halal or not?
              undefined
              4
              1
              3.8k

            • All Subjects MidTerm and Final Term Solved Paper Links Attached Please check moaaz past papers
              zaasmiZ
              zaasmi
              3
              26
              75.1k

            • CS614 GDB Solution and Discussion
              M
              moaaz
              3
              3
              8.1k

            • How can I receive Reputation earning from Cyberian? 100% Discount on Fee
              Y
              ygytyh
              3
              28
              23.9k
            cyberianC
            cyberian
            | |
            Copyright © 2010-26 RUP Technologies LLC. USA | Contributors
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Pro Blog
            • Users
            • Groups
            • Unsolved
            • Solved