computer exam
1) Design a class with function many() to overload
a)void many()
print the Fibonacci triangle
b)void many(int n , int x)
sum =x^1+x^2.....x^n
print sum of this series
c)void many()
to check if a number accepted is a prime number
or
2) Design a class named hotel with following
String name-to enter name of dish
String qut-to enter veg or non veg
int cost-to enter cost
double tax
if dish is veg cost=$1000
if dish is non veg cost=$2000
on each dish 80% tax should be added
create a main method
or
write a Java program to print
1)
1
1 2
1 2 3
1 2 3 4
2)
# @ $ &
@ $ &
$ &
&
attempt any one
program to be written in java
Answers
public class Exam
{
public static void main()
{
for(int x = 1; x<=4; x++)
{
for(int y = 1; y<=x; y++)
{
System.out.println(y);
}
System.out.println( );
}
this program is for the pattern question 3
follow me
hope it helps
mark it as brainliest
Answer:
BlueJ is an integrated development environment (IDE) for the Java programming language, developed mainly for educational purposes, but also suitable for small-scale software development. It runs with the help of JDK (Java Development Kit)MENU menu
Social Media and Free Speech, The Good, The Bad and The Ugly
By Nikki Peters
Published July 29, 2011
POST
SHARE
TWEET
Social media and is a fantastic way to get people to express themselves. Whether it it be via a Facebook status, writing on walls, Twitter updates, photos you share, these are all extensions of you and your personality. They help portray your interests, your views and help show people who you are. They offer a platform for you to be yourself, to be creative, to be who you want to be and most importantly, have an audience for all of this.
Unlike in the real world, where social etiquette and manners can sometimes seem restrictive and limiting , people feel they have a greater sense of freedom of expression and/or of speech when using online networks. Of course, content is monitored and can be removed, but with millions of users on sites such as Facebook and Twitter, even YouTube, not every single status, photo or comment can be watched, evaluated and completely controlled. This has arguably lead to a rise in expressions, feelings and ideas from people who may otherwise find it hard to portray themselves how they would like in person and face-to-face with others.if a transversal intersects two lines such that the bisectors of a pair of corresponding angles are parallel then prove thatif a transversal intersects two lines such that the bisectors of a pair of corresponding angles are parallel then prove that the two lines are parallel l