Answer:
public abstract class Vehicle
{
private int id;
public int ID
{
get { return id; }
set { id = value; }
}
private string model;
public string Model
{
get { return model; }
set { model = value; }
}
public abstract string VehicleDetail(int id, string model);
}
public class Car : Vehicle
{
public Car() { }
public Car(int id, string model)
{
ID = id;
Model = model;
}
public override string VehicleDetail(int id, string model)
{
return $"{id} - {model}";
}
}
public class Bus : Vehicle
{
public Bus(int id, string model, string make)
{
ID = id;
Model = model;
Make = make;
}
public string Make { get; set; }
public override string VehicleDetail(int id, string model, string make)
{
return $"{id} - {model}" - {make};
}
}
Explanation:
Answer:
Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Use 35 hours and a rate of 2.75 per hour to test the program (the pay should be 96.25). You should use input to read a string and float() to convert the string to a number. ... #compute gross pay bye hours and rate per hour.
Explanation:
Answer:
Apply an entrance effect, and then set it to By letter in the Effect Options dialog box.
Explanation:
PowerPoint application can be defined as a software application or program designed and developed by Microsoft, to avail users the ability to create various slides containing textual and multimedia informations that can be used during a presentation. Some of the features available on Microsoft PowerPoint are narrations, transition effects, custom slideshows, animation effects, formatting options etc.
To format an image on PowerPoint, you can either use the Artistic Effects or Picture Effects.
Some of the features available on Microsoft PowerPoint are narrations, transition effects, custom slideshows, animation effects, formatting options etc.
Basically, the views that are available on the Microsoft PowerPoint application includes;
1. Slide Sorter.
2. Notes Page.
3. Reading Pane.
4. Presenter view.
Using a custom animation effect, in order to make text appear on a slide letter by letter, you should apply an entrance effect, and then set it to By letter in the Effect Options dialog box.
Answer:
Translation : Distributed Databases
Explanation:
Answer:
let n = 10;
let sum = 0;
for(i=1; i<=n; i++) {
if ((i%5) && (i%7)) {
sum += i;
}
}
console.log(`Sum 1..${n} excluding 5 and 7 multiples is ${sum}`);
Explanation:
This is in javascript.
example output:
Sum 1..10 excluding 5 and 7 multiples is 33