Reply the next questions in a Phrase doc

Question Assignment 1: What’s overloading? How is it associated to polymorphism? – four factors

Question Assignment 2: What’s UML? When do you create a Use Case Diagram? – four factors

Question Assignment three: Write the C# code to declare an array variable known as testScores to retailer three take a look at scores. After declaring the array, populate the array by assigning the next scores to the three take a look at scores respectively. – four factors

Take a look at Rating 1 = 70

Take a look at Rating 2 = 65

Take a look at Rating three = 80

Question Assignment four: Discover the errors within the following C# code and proper them re-writing the entire for loop.

for (i = intMinNum; i <= intMaxNum; i);

     ;

Question Assignment 5: Discover the errors within the following C# code used to calculate whole discounted value based mostly on the whole value and low cost based mostly on given situations (no low cost for amount <= 100 and 5% for amount > 100) and proper them re-writing the code.

if (itemQuantity <=100);

    

      netTotal == itemQuantity * itemPrice;

    

 elseif (itemQuantity > 100)

   

     discountRate = .05;

     totalPrice = itemQuantity * itemPrice;

     low cost = totalPrice * discountRate;

     netTotal = totalPrice – low cost;

   

 Finish if;

Published by
Write
View all posts