Bookmark Maker
In this assignment, let's build a Bookmark Maker by applying the concepts we learned till now.
Refer to the below image.
https://assets.ccbp.in/frontend/content/dynamic-webapps/bookmark-maker-output.gif
Instructions:
Warning
Time Converter
Refer to the below image:
https://assets.ccbp.in/frontend/content/dynamic-webapps/time-converter-output.gif
By following the above instructions, achieve the given functionality:
When values are entered in HTML input elements with ids hoursInput and minutesInput, the HTML button with id convertBtn is clicked.The converted time in seconds should be displayed in the HTML p element with id timeInSeconds.The HTML p element with id errorMsg should be empty.The HTML p element with id errorMsg should display an error message in the following cases.When the HTML input element with id hoursInput is empty and convertBtn is clicked.When the HTML input element with id minutesInput is empty and convertBtn is clicked.When both the HTML input elements hoursInput and minutesInput are empty and convertBtn is clicked.
Write a C++ program that converts from meters to feet using type
conversion from built in type to class type (Create Feet class).
1 feet = 0.3 meter
If meter value is less then 30 throw an exception.
Store each value in receptive files, Meters.txt and Feet.txt and display
each value as per user selection.
Determine what's wrong in this code and change it.
#include
using namespace std;
int main(){
cout<<"Hello there, please tell me your name?";
char name[50];
cin>>name;
cout<<" Thank you, "< cout<<"Enter 1 or 2\n";
int n;
cin>>n;
if(n==1){
cout<<"True\n";
}
else if(n==2){
cout<<"False\n";
}
else{
cout<<"Invalid\n";
}
cout<<"Enter your birth year:\n";
int year;
cin>>year;
cout<<"Your age is: "<<2021- year<}
determine what's wrong in this code. why x is not defined?
x.field_names = [ "City name", "Area", "Population", "Annual Rainfall"]
list1 = [
["Adelaide", 1295, 1158259, 600.5],
["Brisbane'', 5905, 1857594, 1146, 4],
[ "Darwin", 112, 120900, 1714, 7],
["Hobart", 135, 20556, 619.5],
["Sydney", 2058, 4336374, 1214.8],
["Melbourne", 1566, 3806092, 646.9],
["Perth", 5386, 1554769, 869.4]]
for i in list1:
x.add_row(i)
All the banks operating in India are controlled by RBI. RBI has set a welldefined guideline (e.g. minimum interest rate, minimum balance allowed,
maximum withdrawal limit etc) which all banks must follow.
For example, suppose RBI has set minimum interest rate applicable to a
saving bank account to be 4% annually; however, banks are free to use 4%
interest rate or to set any rates above it.
Write a program to implement bank functionality in the above scenario.
Create few classes namely Customer, Account, RBI (Base Class) and two
derived classes (SBI, ICICI). Assume and implement required member
variables and functions in each class.
Create a menu-driven program. Use pure virtual function.
the factorio of an integer is the product of all integers upto and including that integer except that the factorio of 0 is 1 evaluate the factorio of an integer less than 20 for fuve numbers input successfully via the keyboard
wap to overload the following operators for class distance which stores the distance in feet and inches binary+ to add an object to an integer where the integer should be added to the inches value
List any three technologies that have changed the usage of Internet. List the features of those technologies and the changes that were caused by them