Search This Blog
This blog contains a vast variety of knowledgable materials and a good source of information. Hope it helps !
Posts
Showing posts from May, 2022
Turmeric- Health, Benefits, Uses and Many more.
- Get link
- X
- Other Apps
BENEFITS OF WAKING UP EARLY IN THE MORNING:
- Get link
- X
- Other Apps
6 GOOD HABITS FOR A HEALTHY GLOWING SKIN
- Get link
- X
- Other Apps
#3 Best tricks to improve your forgetful memory
- Get link
- X
- Other Apps
Write a function void change() with two string parameters. Interchange/swap the strings and print the strings before and after interchange.
- Get link
- X
- Other Apps
Write a program to enter two strings s1 and s2 , and swap them. Print the strings before and after swap.
- Get link
- X
- Other Apps
Write a program to input a string and print each character of the string along with ASCII codes of each in two columns.
- Get link
- X
- Other Apps
Write a program to input a string and print each character of the string in different line.
- Get link
- X
- Other Apps
Top 10 output questions from Arrays Class 10 ICSE
- Get link
- X
- Other Apps
Write a program to print the following Pattern.
- Get link
- X
- Other Apps
Write a program to print the following Pattern.
- Get link
- X
- Other Apps
Define a class ElectricBill() with the following descriptions: Class - ElectricBill , Instance varaibles : String n - to store the name of the customer, int units - to store the number of units consumed, double bill - to store the amount to be paid. Member methods: void accept() - to accept the name of the customer and number of units consumed , void calculate() - to calculate the bill as per the following tariff: First 100 units - rate per unit = rs. 2.00, Next 200 units - rate per unit = rs. 3.00; Above 300 units - rate per unit = 5.00.A surcharge of 2.5 % charged if the number of units is above 300 units. Write a main() method to create an object of the class and call the above member methods.
- Get link
- X
- Other Apps
Define a class Candidate with the following descriptions Private members:A data member Rno(Registration number), A data member Name of type String, A data member Score of type String, A data member Remarks of type String, A member function AssignRem() to assign the remarks as per the score obtained by a candidate. Score range and the respective remarks are shown as follows: Score Remarks >= 50 Selected , < 50 Not selected. Public members: A function ENTER() to allow the user to enter values for Rno, Name, Score and call function AssignRem() to assign grade. A function DISPLAY() to allow user to view the content of all data members. Also, create a main() method to create an object and show its implementation by calling the above methods.
- Get link
- X
- Other Apps
Write a program to accept the names of 10 cities in a single dimensional String array and their STD (Subscribers Trunk Dialing) codes in another single dimensional array integer array. Search for a name of a city input by the user in the list.If found, display "Search successful" and print the name of the city along with its STD code, or else display the message "Search Unsuccessful, no such city in the list".
- Get link
- X
- Other Apps
Write a program in java to accept the year of graduation from school as an integer value from the user. Using the binary search technique on the sorted array of integers given below.Output the message "Record exist". If the value input is located in the array. If not, output the message "Record does not exist".{1982, 1987, 1993, 1996, 1999, 2003, 2006, 2007, 2009, 2010}.
- Get link
- X
- Other Apps
Write a program in java to accept an integer input and check whether the number input is a spy number or not and display the output.
- Get link
- X
- Other Apps
Write a program in java to enter a string convert the string to uppercase and print the frequency of the characters present in the string.
- Get link
- X
- Other Apps
Write a program in java to input a string and print the number of A's or a's present in the string.
- Get link
- X
- Other Apps
Write a program in java to enter a string and count and print the number of non blank characters present in the string.
- Get link
- X
- Other Apps