Answer: Following code is in python
n=input()
num='1'
while int(num)<=int(n): //loop from 1 to n
flag=1 //if an unequal element will be found it will be 0
l=len(num)
if num[0]=='3':
j=0
k=l-1
while j<k: //loop till middle of number
if num[j]==num[k]:
j+=1 //from beginning
k-=1 //from end
else:
flag=0
break
if flag==1:
print(int(num))
num=str(int(num)+1) //number will be incremented as integer
INPUT :
1000
OUTPUT :
3
33
303
313
323
333
343
353
363
373
383
393
Explanation:
In the above code, a loop is executed till num is equal to n which is entered by the user. num is treated as a string so that to ease the process of checking first character is 3 or not. If it is 3 then another loop executes which checks if an element from starting is equal to the corresponding element from the end. If an element is not equal then the flag is changed and then we break out of the loop and prints the number if the flag isn't changed.
- Since Adult A has been asked to create a website for their church, the most appropriate software to use is Sublime Text because it can be used to type all of the instructions to be executed.
- Adult B should use Adobe Photoshop to create a flyer about an upcoming social gathering for her workplace.
<h3>What is a
text editor? </h3>
In Computer technology, a text editor can be defined as a tool which is typically designed and developed to enable a software or web developer in typing and create the instructions to be used in a software or website such as a blog.
Sublime Text is a very good example of a text editor and should be used by Adult A to create a website for his or her church because it can be used to type all of the instructions that need to be executed and provides indentation by default.
On the other hand (conversely), Adult B should use Adobe Photoshop to create a flyer about an upcoming social gathering for her workplace because it is arguably the best graphics design software.
Read more on text editor here: brainly.com/question/4004088
#SPJ1
Answer:
// here is code in the C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main() {
// variable to store the input
int birth_month,birth_year;
cout<<"enter birth month:";
// read the birth month
cin>>birth_month;
cout<<"enter birth year:";
// read the birth year
cin>>birth_year;
// print the output
cout<<birth_month<<"/"<<birth_year<<endl;
return 0;
}
Explanation:
Declare two variables to store the birth month and birth year.Read the inputs from the user and assign it the variables.Print the birth month and year separated by a slash "/".
Output:
enter birth month:1
enter birth year:2000
1/2000
It's important to do so because you want to be sure it looks professional, just like it's important to add a cover to a report. It's also the first look at the resume and gives the overall look of it. It lets the job or employer know the specifics and into the resume talk more of what you do. It's like the overall information page..... Hope this helps.
Answer:
c. selection list.
Explanation:
A selection list is created using the select and option elements that present users with a group of predefined possible values for the data field.
In Computer programming, the selection list is used to avail the end users with the ability to engage in an operation such as a predefined possible values for the data field.