Write a programme that takes in a number from a user then prints out all the divisors greater than zero but less than the number itself
Write a java program to print all natural numbers in reverse(from n to 1) - using while loop
Get videos from TEDx channel (id=353) with more than 50 thousand views.
Sort the output in the descending order of
video_id name duration_in_sec sno_of_views
A descending order means values arranged from largest to smallest. But in your case, you're going to have to sort these integers in ascending order, which means from smallest to largest.
Instructions:
Input three integers.
Print the integers in ascending order using your knowledge on conditional statements.
Input
A line containing three integers separated by a space.
Categorise the performance of all the videos released by the “Motivation grid” Channel (id = 350).
Performance of a video is measured based on the number of views of the video.
no_of_viewscategory<= 10000 poor
10000 < views <= 100000
and
average> 100000 good
Sort the output in the ascending order of
name , no_of_views , category
SELECT
name,
sum(no_of_views) AS no_of_views,
CASE
WHEN sum(no_of_views) <= 10000 THEN "poor"
WHEN sum(no_of_views) < 10000
AND sum(no_of_views) <= 100000 THEN "average"
ELSE "good"
END AS category
FROM
video
WHERE
channel_id = 350
GROUP BY
name
ORDER BY
published_datetime DESC;
please help
You are given a word as input. Print the input by adding a hyphen (-) between each letter in the word.
The input is a string
Sample input == Hello
Output == H-e-l-l-o
this image below link as i want same to same code please provided
https://assets.ccbp.in/frontend/content/dynamic-webapps/bookmark-maker-output-v1.gif
1.The page should have HTML form element with id bookmarkForm
2.The HTML form element with id bookmarkForm should have HTML input elements with ids siteNameInput and siteUrlInput
3.The HTML form element with id bookmarkForm should have HTML button element with id submitBtn
4.Add HTML label elements for HTML input elements with ids siteNameInput and siteUrlInput
5.The HTML form element with id bookmarkForm should have HTML p elements with ids siteNameErrMsg and siteUrlErrMsg
6.The page should have HTML unordered list element with id bookmarksList
Each bookmark item should contain an HTML anchor element to navigate to the bookmarked site
this all test cases are executed please
Assume your team is part of a research project. Your team wants to create a simple software that compares two strings, but they're undecided about whetheror not to use pointers. Your group now has the duty of creating or converting your initial code into a pointer-based compare two strings program and determining whether or not pointers are useful in this program.
Example like this:
#include <iostream>
using namespace std;
string convert(string s)
{
for (int i=0; i<s.length() ;i++)
{
s[i]=toupper (s[i]);
}
return s;
}
int main()
{
string string01,string02;
cout<<"String 1 : ";
cin>>string01;
cout<<"String 2 : ";
cin>>string02;
if(convert(string01)==convert(string02)) {
cout<<"Two strings is equal";
}
else{
cout<<"Two strings is not equal";
}
}
Elucidate how A* algorithm is better than Best First Search algorithm with the help of a suitable example.
Write a complete program to convert infix expression to postfix expression using stack implemented through linked list. Keep in mind limited operations available to stack.