Create any program using python programming language. Use at least 10 Python built-in functions. Submit the program file of your program ( .py) for those who uses desktop or laptop in code and screenshot of the code and output for those who uses phones to code.
Input
1. An integer
Output
Enter·n:·5
*****
#include <iostream>
using namespace std;
int main(void) {
int n;
cout << "Enter n: ";
cin >> n;
simple(&n);
cout << n;
return 0;
}
Input
1. First integer
2. Second integer
Output
Enter·integer·1:·10
Enter·integer·2:·20
20·110
#include <iostream>
using namespace std;
int main(void) {
int a, b;
cout << "Enter integer 1: ";
cin >> a;
cout << "Enter integer 2: ";
cin >> b;
exchangeGift(&a, &b);
cout << a << " " << b;
return 0;
}
Instructions:
Output
My·destiny·=·11
#include <iostream>
using namespace std;
int main(void) {
int destiny = 22;
int *ptr1, *ptr2, *ptr3;
// TODOFill in the blank
ptr1 = ;
ptr2 = ptr1;
ptr3 = ptr2;
cout << "My destiny = " << *ptr3;
return 0;
}
Create an assembly program that would check if the input character is a numeric character. alphabet (letter) or a special character.
HINT: Each character has a corresponding decimal and hex values in the ASC table. Use ASCII table.
-write a program using for loop - show numbers from(1,150)increased by 3 only print odd numbers
Create a Java program that asks the user to input a student number. The format of the student number is a sequence of the following:
Four (4) digits
A dash
Two (2) digits
A dash
Three (3) digits
Display a welcome message if the student number is valid; otherwise, show an appropriate error message. Do not copy the welcome message in the sample output.
Implement the following problem statement in python along with test cases. Let’s say you have a Customer class and you want to test calculate bill method of customer class. Bill calculation will depend on list of items customer purchased
create two class names User and administrator. the administrator class should inherit from the user class and the two classes should be members of the namespace named User Namespace.
Create an assembly program that would check if the input character is a numeric character. alphabet (letter) or a special character.
HINT: Each character has a corresponding decimal and hex values in the ASC table. Use ASCII table.