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

Create a program plan, an algorithm, and draw a flowchart that uses sequence structure, that would accept a radius of a circle and computes its area, circumference and diameter. Use constant declaration.

area = pi * radius2

circumference = 2 * pi * radius

diameter = 2* radius

Instruction: Create a program plan, algorithm, flowchart and pseudocode for the following cases:

               A Department Store classifies its credit card holders as to local, national and international. A local card holder resides in Metro Manila, a national, anywhere in the Philippines and an international, anywhere in the world. The programmer must store a code 01, 02, and 03 for local, national and international card holders respectively. The program is to read the cards and store the proper code in each card.


An electric company bases its charges on two rates, customers are charged P25.00 per kilowatt-hour for the first 300 kilowatt-hours used in a month and P30.00 each for all kilowatt-hours used thereafter. Compute for the amount due from a customer after reading the kilowatt-hours used. Assume that there are 100 records of customers.


Write an algorithm and draw a flowchart that will convert a given decimal number (N10) to its equivalent binary number (N2).


Tic-Tac-Toe game Abhinav and Anjali are playing the Tic-Tac-Toe game. Tic-Tac-Toe is a game played on a grid that's three squares by three squares. Abhinav is O, and Anjali is X. Players take turns putting their marks in empty squares. The first player to get 3 of her marks in a diagonal or horizontal, or vertical row is the winner. When all nine squares are complete, the game is over. If no player has three marks in a row, the game ends in a tie. Write a program to decide the winner in the Tic-Tac-Toe game. Input The input will be three lines contain O's and X's separated by space. Output The output should be a single line containing either "Abhinav Wins" or "Anjali Wins" or "Tie". Explanation For example, if the input is O X O O X X O O X as three of O's are in vertical row print "Abhinav Wins". Sample Input 1 O X O O X X O O X Sample Output 1 Abhinav Wins Sample Input 2 O O X X X O X O O Sample Output 2 Anjali Wins i want exact sample outputs sir

Q#4). Create a class called Stack for storing integers. The data members are an integer array for storing

the integers and an integer for storing the top of stack (tos). Include member functions for initializing tos

to 0, pushing an element to the stack and for popping an element from the stack. The push() function

should check for “stack overflow” and pop() should check for “stack underflow”.


1)   Write a Python program that prints all the numbers from 11 to 20 except 13 and 17 using For loop.



1.     Make a program that will input type of accommodation room. A-for first class, B-for second class. Charge as follows : first class=800.00 and second class = 650.00. Your program will be terminated if you input C in the accommodation room type.


Create a Class diagram and pseudo code

for program that allows bags to be purchased. There are six different types: full decorative, beaded, needlepoint design, fringed beaded and plain. Create a ListBox object for the different styles. After the user makes a selection, display a message indicating which selection was made. Include an option to clear selections. Include a control that allows the user to enter the quantity desired. Include a set of radio buttons that contain shipping options of overnight, three day and standard. The price for each bag is as follows: full decorative R50; beaded – R45; needlepoint design – R40, fringed beaded – R30 and plain – R20. The shipping charges are based on the total purchase. The following percentages are used: Overnight – 10%, three day – 7% and standard – 5%. Display in a message box the shipping charge along with the selection, quantity and total cost.


Using the above code add a method that takes in three arrays, one for student names, one for final test marks and a last one for assignment mark. The method should then calculate the students qualifying mark (a student needs 50 or more to qualify) using the following weights: 40% of the test and 60% of the assignment, finally print out whether the person qualified or not.

Name Test  Assignment  Final Examination


King   59     85             75    Allowed

John 52    45              48    Denied

Sample Test 1:

Enter the total number of students:

3

Enter name:

koko

Enter name:

jojo

Enter name:

momo

Enter mark for Test 1:

78

Enter mark for Test 2:

65

Enter mark for Test 3:

70

Enter mark for Test 1:

55

Enter mark for Test 2:

56

Enter mark for Test 3:

89

Enter mark for Test 1:

45

Enter mark for Test 2:

25

Enter mark for Test 3:

38

Enter assignment Mark:

66

Enter assignment Mark:

86

Enter assignment Mark:

70

Name Test01 Test02 Test03 Final


koko  78    65    70    71

jojo   55    56    89    67

momo 45    25    38    36



LATEST TUTORIALS
APPROVED BY CLIENTS