Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

NAVANA LIMITED has imported 50 new TOYOTA COROLLA CROSS.

So, the Managing Director has instructed the concerned department to keep all the information

of these 50 cars for future development and statistics. For that reason, the GM of Sales and

Marketing department has marked out the mandatory information which are Customer_Name,

NID_Number, Purchase_Date, Engine_No, Registration_No. Also, they want some

functionality which are like inserting the information, showing all the sold list of Car and

Changing the ownership of the car. Now develop a solution using C++ to help NAVANA

LIMITED implementing this system following the below instructions.


Create a class called 'Matrix' containing constructor that initializes the number of rows and the

number of columns of a new Matrix object. The Matrix class has the following information:

1 - number of rows of matrix

2 - number of columns of matrix

3 - elements of matrix (You can use 2D vector)

The Matrix class has functions for each of the following:

1 - get the number of rows

2 - get the number of columns

3 - set the elements of the matrix at a given position (i,j)

4 - Adding two matrices.

5 - multiplying the two matrices

You can assume that the dimensions are correct for the multiplication and addition.


 An egg distribution company uses different sizes of packings for eggs, that is, 30 eggs  packing, 24 eggs packing, 18 eggs packing, 12 eggs packing and 6 eggs packing. Write a program which  prompts user to enter total number of eggs (input validation is always must) to be packed and then  calculate how many packings of each size will be possible. Also tell if there will be any eggs left to be  packed. (10 marks) 




Outline the evolution of Intel X86 architecture from its introduction in 1978 up to these day

Describe home security systems and point of sales system making up the embedded system

In the next coming century will the world be ruled by robots and why

Explain why technology keeps on changing rapidly

Magical Indices


Input

The first line of input contains an array

The second line of input contains a number

Output

The output should be a number indicating the number of valid positions

Explanation

For example, an array A = [10, 20, 30] and a value x = 25.

Sample Input 1

[1, 2, 3, 5, 7]

13

Sample Output 1

3

"use strict";

process.stdin.resume();

process.stdin.setEncoding("utf-8");

let inputString = "";

let currentLine = 0;

process.stdin.on("data", (inputStdin) => {

 inputString += inputStdin;

});

process.stdin.on("end", (_) => {

 inputString = inputString

  .trim()

  .split("\n")

  .map((str) => str.trim());

 main();

});

function readLine() {

 return inputString[currentLine++];

}

function main() {

 let integers = JSON.parse(readLine());

 let value = JSON.parse(readLine());


 /* Please do not modify anything above this line */


 /* Write your code here and log the output */

}



product of array items

given an array integers, write a JS program to get the product of the given integers in the array

sample input1

[1,2,3]

sample output1

1*2*3 = 6


"use strict";


process.stdin.resume();

process.stdin.setEncoding("utf-8");


let inputString = "";

let currentLine = 0;


process.stdin.on("data", (inputStdin) => {

 inputString += inputStdin;

});


process.stdin.on("end", (_) => {

 inputString = inputString

  .trim()

  .split("\n")

  .map((str) => str.trim());

 main();

});


function readLine() {

 return inputString[currentLine++];

}


function main() {

 let integers = JSON.parse(readLine());


 /* Please do not modify anything above this line */


 /* Write your code here and log the output */

}


INPUT:

[1,2,3]


OUTPUT:

1*2*3 = 6


INPUT:

[-1,-2,-3]


OUTPUT:

-1*-2*-3 = -6 SHOULD BE LIKE THIS


Create a Date class with integer data members for year, month, and day. Also, include a string data member for the name of the month. Include a method that returns the month name (as a string) as part of the date. Separate the day from the year with a comma in that method. Include appropriate methods. Create the To_String() method to display the date formatted with slashes () separating the month, day, and year. Create a second class that 

  instantiates and test the Date class. Make UML Diagram Also


LATEST TUTORIALS
APPROVED BY CLIENTS