Home
Pratik Ghelani
Home
About Pratik Ghelani
C Programming
Java
PHP
Breaking
Sorry, the page you were looking for in this blog does not exist.
Sorry, the page you were looking for in this blog does not exist.
Oops;
Sorry, but the page you were trying to view does not exist.
404
Back to Home
Home
Labels
C Programming
cpp
java
PHP
Python
Popular Posts
Create a class "faculty" with attributes like id, name, designation, emailid, birthdate, city. a. getData() to take faculty information. b. setData() to display faculty information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of particular faculty in proper format.
Input:- class faculty(object): faculty_id=0 faculty_name="" designation ="" Email_id="&...
Create a class “employee” with attributes like id, name, designation, emailid, birthdate, city. a.getData() to take employee information. b.setData() to display employee information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of peticular employee in proper format. Implement regular expression to validate emailid and birthdate.
Input:- import re class employee(object): employee_id=0 employee_name="" designation ="" E...
Print prime number in given range in swift
func prime(n: Int){ var count = 0 for i in 1...n { if(n%i==0) { count+=1 } } if(count==2) { print(" Prime number \(n)") } else { ...
Implementation of polyalphabetic cipher.
Input:- public class polyalphabetic { public static void main(String[] args) { String s="playcsgo"; String k="playever...
Featured
Contact Form
Name
Email
*
Message
*
Powered by
Blogger
.
Home
Archive
Archive
August 2020 (3)
May 2020 (17)
April 2019 (8)
March 2019 (6)
February 2019 (6)
January 2019 (27)
Author Social Links
Tags
C Programming
cpp
java
PHP
Python
Recent
Recent
Popular
Create a class "faculty" with attributes like id, name, designation, emailid, birthdate, city. a. getData() to take faculty information. b. setData() to display faculty information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of particular faculty in proper format.
Input:- class faculty(object): faculty_id=0 faculty_name="" designation ="" Email_id="&...
Create a class “employee” with attributes like id, name, designation, emailid, birthdate, city. a.getData() to take employee information. b.setData() to display employee information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of peticular employee in proper format. Implement regular expression to validate emailid and birthdate.
Input:- import re class employee(object): employee_id=0 employee_name="" designation ="" E...
Print prime number in given range in swift
func prime(n: Int){ var count = 0 for i in 1...n { if(n%i==0) { count+=1 } } if(count==2) { print(" Prime number \(n)") } else { ...
Implementation of polyalphabetic cipher.
Input:- public class polyalphabetic { public static void main(String[] args) { String s="playcsgo"; String k="playever...
Check the string is palindrome or not in swift
var str = "Pratik" var str1 = String(str.reversed()) if (str == str1) { print("String is Palidrome") } else { print(&qu...
Comments
Comments
Popular Posts
Create a class “employee” with attributes like id, name, designation, emailid, birthdate, city. a.getData() to take employee information. b.setData() to display employee information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of peticular employee in proper format. Implement regular expression to validate emailid and birthdate.
Input:- import re class employee(object): employee_id=0 employee_name="" designation ="" E...
Create a class "faculty" with attributes like id, name, designation, emailid, birthdate, city. a. getData() to take faculty information. b. setData() to display faculty information. Inherit class “Account” with attributes like acc_id, acc_type, amount and methods to generate account report of particular faculty in proper format.
Input:- class faculty(object): faculty_id=0 faculty_name="" designation ="" Email_id="&...
Write a C Program To print ―“HELLO FRIENDS”.
Program:- #include <stdio.h> void main() { printf("HELLO FRIENDS"); } Output:-
. Create a list of temperatures in degrees Celsius with the values 25.2,16.8, 31.4, 23.9, 28, 22.5, and 19.6, and assign it to a variable called temps. Using one of the list methods, sort temps in ascending order. Write for loop to convert all the values from temps_in_celsius into Fahrenheit, and store the converted values in a new list temps_in_fahrenheit.
Input:- n = int(input("Enter the temperature list:")) Temp = [25.2,16.8, 31.4, 23.9, 28, 22.5,19.6] b = [] for i in ...
Write a C Program To print values of variable of different data types.
Program:- # include<stdio.h> void main() { int a=86; float b=1.5; double c=86.66666; char d='p'; ...
Write a C Program find whether the given year is leap year or not.
Program:- #include <stdio.h> void main() { int y; printf("Enter year : "); scanf("%d", &y)...
Write a C Program: to print Fibonacci series 0, 1, 1, 2, 3, 5 ...N using do while loop.
Program:- #include<stdio.h> void main() { int n,a,b=-1,c=1; printf(" Enter The Number Of Terms:&...
Write a C Program to read two numbers from key board and perform addition, subtraction, division and multiplication using assignment operators.
Program:- #include <stdio.h> void main() { int a, b, add, sub, mul; float divi; printf("Enter two integers\n&q...
8 Stunning CSS 3D Effect
8 Stunning CSS 3D Effect All Link hear:- https://tympanus.net/Development/Slicebox/index4.html https://codepen.io/zadvorsky/pen...
Print prime number in given range in swift
func prime(n: Int){ var count = 0 for i in 1...n { if(n%i==0) { count+=1 } } if(count==2) { print(" Prime number \(n)") } else { ...
Categories
About Me
Pratik Ghelani
View my complete profile
Total Pageviews
Tags
C Programming
(16)
cpp
(2)
java
(16)
PHP
(8)
Python
(13)
Keep Traveling
Contact Form
Name
Email
*
Message
*