Questions: 11 448

Answers by our Experts: 10 707

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 VB program using one dimensional array to accept SIX (6) NUMERIC VALUES then the program will identify the smallest number stored in array.



Sample Output:



Enter First Element: 34


Enter Second Element: 54


Enter Third Element: 16


Enter Fourth Element: 17


Enter Fifth Element: 200


Enter Sixth Element: 1



The Smallest Number: 1

1. Write a program using string functions that determine if the input word is a palindrome. A palindrome word is a word that produces the same word when it is reversed.




Sample Input/output Dialogue:



Enter a word: AMA



Reversed: AMA



“It is Palindrome”




Enter a word: HELLO



Reversed: OLLEH




Make a C++ program that will print the values of array named areas with values {84,76,48} using while loop.

a customer opens an account at a bank with an initial amount. the account number, name, and balance of the customer are generated. write a programme to input data for 5 customers and write into a file. later, display the data of all customers by reading from the file

Write a C++ program to create a class "Wall" with private data members "length & height and public member functions "findArea & Wall

Write a C++ program that takes five alphabets from the user and ask the user to delete any


alphabet. You should store the alphabets in a char array.

Write a C++ program that creates an array “A” having 5 elements (in the main function). Then,


the program asks the user to enter values in this array. After that, the program should ask


question from user are you wanted to sort ascending or descending order kindly enter your


choice that’s you want to search in the array, also compute the sum of array for the ascending


order and difference of array for the descending order.

Create a class called Rational for performing arithmetic with fractions. The result should be stored in reduced form. Use integer variables to represent the private data of the class— the numerator and the denominator. Provide a constructor that enables an object of this class to be initialized when it’s declared. The constructor should contain default values in case no initializers are provided and should store the fraction in reduced form. For example, the fraction would be stored in the object as 1 in the numerator and 2 in the denominator. Provide public member functions that perform each of the following tasks:

The result should be stored in reduced form of all these parts except part (f):

a) Adding two Rational numbers.

b) Subtracting two Rational numbers.

c) Multiplying two Rational numbers.

d) Dividing two Rational numbers.

e) Printing Rational numbers in the form a/b using << operators.

f) Printing Rational numbers in floating-point format using << operators.



Write a c++ program using string function that will accept the course

abbreviation as input value and it will display the corresponding

college.


Write a C++ function in which it reads namesfrom file “data.txt” into character array and remove



the repeating names. Write your updated names list in another file called “output.txt”



Example:



Data.txt



Hira



Ali



Ahmad



Imran



Ali



Warda



Annie



Ali



Kinza



Hira



Output.txt



Hira



Ali



Ahmad



Imran



Warda



Annie



Kinza

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS