S.no Date Signature 1 15/1/2024 WAP to print your name in Java. 2 15/1/2024 WAP to add 2 numbers. Take Input (Via Command Prompt & Via Scanner Class). 3 15/1/2024 WAP to do addition, subtraction, multiplication and division by taking (Values for variables & Values via Scanner Class). 4 29/1/2024 WAP to calculate factorial of a number taken via Scanner Class. 5 29/1/2024 WAP to take 5 numbers as an input from the user and then calculate (Average of the number & Maximum and minimum among the numbers). 6 29/1/2024 WAP to take 2 numbers and a symbol (+, -, *, /, %) from user. Using Switch case st...
1. 3,4,5,6A represent it in array code:- array = [3, 4, 5, "6A"] for element in array: print(element) 2. show * in array code:- #include <stdio.h> int main() { int array[] = { 1, 2, 3, 42}; printf("%d\n", array[0]); printf("%d\n", array[1]); printf("%d\n", array[2]); printf("%c\n", array[3]); return 0; } 3. Calculate the no. of numerical digits in a string. code:- s tring = "Madhav 9034, I have 34 Rubbe4." count = 0 for char in string: if char.isdigit(): count = count + 1 print("Number of numerical digits:", count) or def count_digits(input_string): count = sum(1 for char in input_string if char.isdigit()) return count if __name__ == "__main__": user_input = input("Enter a string: ") digit_count = count_digits(user_input) ...
Exp-1: Study of MATLAB software and its basic commands. MATLAB (Matrix Laboratory) is a high-level programming language and environment used primarily for numerical computing, data analysis, algorithm development, and visualization. It is widely used in academia and industry for tasks involving mathematics, engineering, and scientific computations. Key Features of MATLAB: 1. Interactive Environment : MATLAB provides an interactive platform to execute commands and visualize data. 2. Matrix Operations : Built-in support for matrix and array mathematics. 3. Rich Visualization : Easy-to-use functions for plotting and visualizing data. 4. Extensive Toolboxes : Additional toolboxes are available for various applications (e.g., Signal Processing, Image Processing, Machine Learning). 5. Cross-Platform : MATLAB runs on Windows, macOS, and Linux. ...
Nice Blog. Thanks for sharing very useful blog for students. It will be really helpful.
ReplyDeleteTop 5 Skills that Give Engineering Graduates Boost in Career
Top Reasons Why You Should Pursue B.Ed Course
Find Your Route To A Successful Career After Graduation
What is the future scope of a BSc in fisheries?
Career Opportunities for Students after Pursuing Diploma Courses
Thanku so much for your appreciation 😊
Delete