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

Imagine that you are working in the production industry which produces leather shoe, for each pair of shoe your job is to label it using serial number given to you.

Assume that the serial number starts from 1 to 1000. But the serial number contains the repetition of the some number. Now your task is to identify the total number of repetition numbers in the serial list. Write a C program to provide the solution using array concept.

Test data:

The number of elements to be stored in the array is: 10


Enter the elements in tha array:


element 0: 1

element 1: 2

element 2: 3

element 3: 1

element 4: 4

element 5: 5

element 6: 6

element 7: 2

element 8: 5

element 9: 7


Expected output:

The count of repetition elements found in the array is: 3


swap letters in the string until vowel comes


your are given three strings as input. write a program to print first character of each string in python?


Write a program that takes an array ‘A’ of size 10 and an integer ‘x’ as input and searches the index of ‘x’ in the array. If ‘x’ is found, print the index. If ‘x’ is not found, then print -1. If ‘x’ is present two or more than two times in the array, then print the index of last occurrence of ‘x’.

The FizzBuzz Game






by CodeChum Admin








Let's play a game of FizzBuzz! It works just like the popular childhood game "PopCorn", but with rules of math applied since math is fun, right? Just print out "Fizz" when the given number is divisible by 3, "Buzz" when it's divisible by 5, and "FizzBuzz" when it's divisible by both 3 and 5!












Let the game begin!








Input








A line containing an integer.








15






Output








A line containing a string.








FizzBuzz

An organization is granted a block of addresses with the beginning address 150.25.0.0/24. The organization needs to have 3 subblocks of addresses to use in its three subnets: one subblock of 11 addresses, one subblock of 40 addresses, and one subblock of 125 addresses. Design the network and plot it completely with respective subnets, IP range, Network IDs.


Find the first address, last address and the number of addresses of a network whose one of the IP addresses is 72.280.220.112 / 27. 


Calculate total stock value of the stock available in a furniture shop.

This program simulate the stock management of a Furniture Shop. This shop deals with only two type of Furnitures BookShelf and DiningTable only. The program should accept details any 5 furnitures(each can be either BookShelf or DiningTable), the program should show a menu that allow the user to select choice of Furniture. After accepting the required no of Furniture details program will show accepted details and TotalCost of Accepted Stock

This exercise contains a base class named Furniture to hold the common properties of all type of Furnitures, and BookShelf and DiningTable class as child class with additional properties relevant to child classes. Program class has below functions:

 +AddToStock(Furniture []) : int
    
 +TotalStockValue(Furniture []) : double
     
  +ShowStockDetails(Furniture []) : int
     

The program should also contain definitions for class types as suggested below:

  +Furniture : class
    

  + BookShelf : class
    
  + DiningTable : class

Calculate total stock value of the stock available in a furnitur

This program simulate the stock management of a Furniture Shop. This shop deals with only two type of Furnitures BookShelf and DiningTable only. The program should accept details any 5 furnitures(each can be either BookShelf or DiningTable), the program should show a menu that allow the user to select choice of Furniture. After accepting the required no of Furniture details program will show accepted details and TotalCost of Accepted Stock

This exercise contains a base class named Furniture to hold the common properties of all type of Furnitures, and BookShelf and DiningTable class as child class with additional properties relevant to child classes. Program class has below functions:

 +AddToStock(Furniture []) : int
     

 +TotalStockValue(Furniture []) : double
     -
  +ShowStockDetails(Furniture []) : int
     -


The program should also contain definitions for class types as suggested below:

  +Furniture : class
     

  + BookShelf : class
    
  + DiningTable : class
     -





An ATM allows users to perform basic financial transactions:

  1. View account balance
  2. Withdraw cash
  3. Deposit cheque

You need to identity the classes involed in this system and their relationship

Identifying the Classes

  1. An ATM machine interacts with the bank for performing bank operations.
  2. The machine identifies the bank based on the card number provided
  3. Once the bank is identified it should validate the card based on pin number provided
  4. If the pin is valid, ATM application should then provide options to:
  • Deposit Amount - through cheque
  • Withdraw Amount - based on balance available
  • Check Balance
  1. It should record the card number, the bank details, the date and time of transaction, the type of transaction (deposit/withdraw/balance-enquiry) and the status of transaction (success/failure)
  2. For each failed transaction, the further processing should stop and display appropriate message
  3. At a time, ATM accepts request for single transaction.
  4. Entire process repeats, for the next transaction
LATEST TUTORIALS
APPROVED BY CLIENTS