Tampilkan postingan dengan label find. Tampilkan semua postingan
Tampilkan postingan dengan label find. Tampilkan semua postingan

Rabu, 25 Mei 2016

C Program to find Area of Triangle

,
C# Program to find Area of Triangle

Program Statement:
If the lengths of the sides of a triangle are denoted by a, b, and c, then area of triangle is given by
Area = S?S(S-a)(S-b)(S-c)
where, S = ( a + b + c ) / 2

Solution:
 class sq
{
int a, b, c;
double S, Area, temp2;
public double s(double t)
{
double lb = 0, ub = t, temp = 0; int count = 50;
while (count != 0)
{
temp = (lb + ub) / 2;
if (temp * temp == t)
{ return temp; }
else if (temp * temp > t)
{ ub = temp; }
else
{ lb = temp; }
count--;
}
return temp;
}
public void cal()
{
Console.Write(" Enter value of a : ");
a = Convert.ToInt32(Console.ReadLine());
Console.Write(" Enter value of b : ");
b = Convert.ToInt32(Console.ReadLine());
Console.Write(" Enter value of c : ");
c = Convert.ToInt32(Console.ReadLine());
S = (a + b + c) / 2;
temp2 = (S * (S - a) * (S - b) * (S - c));
Area = S * s(temp2);
Console.WriteLine(" Area = {0} ", Area);
}
}


Read more

Sabtu, 14 Mei 2016

Get Organized and Find More Time for Writing and GIVEAWAY!

,

Okay, just looking at the cover of this book makes me itchy. Not that I am a neat freak by any means. But I do like to be able to FIND things, and you dont have to have 5 kids like me to get very disorganized VERY fast. You can check this label here to see some of my Tackle-it Tuesday projects Ive had going on in the past.

As for writing, you should see the stack of JUNK papers on top of my desk and then in my drawers and then in a large pink tub off to the side, hidden from site. Its full of things I want to get to someday, things that will MAKE ME MONEY to write about, but I cant get past my scary stack sitting right next to me. I needed help, and I needed this book.

If I am more organized, I am get more done ... more work-like, money-making things that result in a vacation with my family, moving to the country, fulfilling dreams. Simple as that.

So if the cover makes me itchy, the table of contents makes me feel warm and fuzzy.

Section 1 is Before We Begin Organizing (cool, so you arent just going to start firing instructions at me)

Section 2 is Lets Get Organized (and is it just me who sees the word LEGO in there?)

Section 3 is Staying Organized which is my biggest challenge ... within a month a table or a space is craptastic once again at my place

Section 4 is Resources

Heres the Amazon listing so you can buy it on Kindle if you prefer, but at least you have take a peek inside at the full table of contents this way! The author has organized the homes of people and I have been to her home and IT IS ORGANIZED and she is a WRITER who has published other books and does so by keeping her space organized!

I am confident that I can get my house in amazing order with just a handful of Sundays (I dont organize a whole lot during the week because Im working/homeschooling, but on Sundays during the winter I am going to be all over this book, making notes and checking off things as I do them!) Once my house is all good and my mind is off that, I can focus on my WRITING CENTER.

Heres the Rafflecopter below so you can enter to win a copy of this great book, but if you are dying to have this book for yourself or to sneak to someone else, you can order by writing the author herself at shuckchristine at gmail dot com (gotta watch out for those spammers, you know), and she is happy to give you a nice discount on the book! Instead of the original $15 + shipping price, shes going to send it to you for only $11 including shipping. Its a book that will change your life!

P.S. Check out her blog ... you can find her on the right-hand side of this page ... Christine Shuck, Writer at Large.

a Rafflecopter giveaway


Read more

Sabtu, 07 Mei 2016

C program to Find Worker efficiency using if else statement

,
C# program to find Worker efficiency using if_else statement 

Program statement:
In a company, worker efficiency is determined on the basis of the time required for a worker to complete a particular job. If the time taken by the worker is between 2 – 3 hours, then the worker is said to be highly efficient. If the time required by the worker is between 3 – 4 hours, then the worker is ordered to improve speed. If the time taken is between 4 – 5 hours, the worker is given training to improve his speed, and if the time taken by the worker is more than 5 hours, then the worker has to leave the company. If the time taken by the worker is input through the keyboard, find the efficiency of the worker.

Solution:
static void Main(string[] args)
{
double time;
Console.WriteLine("Enter the Workers Time to complete Task:");
time = Convert.ToDouble(Console.ReadLine());
if (time >= 2 && time <=3)
Console.WriteLine("Good! Worked Efficiently");
else if(time>3 && time<=4)
Console.WriteLine("Improved Your working Speed");
else if(time>4 && time<=5)
Console.WriteLine("Required Tranning to improve Speed");
else if(time>5)
Console.WriteLine("Leave this company");
else
Console.WriteLine("No Result for this input");
Console.ReadLine();
}


Read more

Senin, 25 April 2016

C Program to find Student GPA and CGPA Concept of ENUM in C

,
C# Program to find Student GPA and CGPA

Program Statement:
Create a class of student which stores characteristcs of student like studentID, studentName, studentDOB, studentRollNo, studentEmail, studentGPA of last 5 semesters and other related information of the student. (You may set some properties Boolean and some readonly)
a. Calculate the CGPA of each student using function calculateCGPA(…).
b. Student with highest CGPA will be considerd CR of the class. There should be a function which will compare the CGPA of students and will declare a student having greater CGPA as CR.
c. Program should be able to take input of 5 students from user; definitely there will be a function which will take input from the user.
d. You have to use the Setter for setting the values of the data members of the class and and Getter function for getting the values of the data members of the class. (You can use property as alternative)
e. Default value for each student GPA should be 3.0. (You have to use an array for storing GPAs of last 5 semesters. You may simply initialize the array with 3.0 in constructor).
f. All data members should be private.
g. Member functions can be public.
h. Program must be able to add two objects i.e. if we add two students then all their corresponding data members will be added one by one. (Operator Overloading).
i. Program must contain explicitly definition of copy constructor.
j. StudentID and StudentGPA of last 5 semesters must be constant or readonly.
k. Value of studentGPA of last 5 semesters must be selected from ENUM which may contain values {1.0, 2.0, 3.0, and 4.0}.

Solution:
 public void Question_45()
{
int len = 0, i = 0, count = 0 , R , copy_r;
Student[] obj;
Console.Clear();
Console.WriteLine("****A Program Calculate the Student Characteristcs**** ");
Console.Write(" Enter the Size of Student Class : ");
len = Convert.ToInt32(Console.ReadLine());
obj = new Student[len];
for (int j = 0; j < obj.Length; j++)
obj[j] = new Student();
do
{
Console.Clear();
Console.WriteLine("****A Program Calculate the Student Characteristcs**** ");
Console.WriteLine(" 1.Input Student Data");
Console.WriteLine(" 2.CGPA of Student");
Console.WriteLine(" 3.CR of Class");
Console.WriteLine(" 4.Copy Contructor");
Console.WriteLine(" 5.Operator Overload + ");
choice = Convert.ToChar(Console.ReadLine());
switch (choice)
{
case 1:
Console.Clear();
Console.Write(" Roll No. : " + obj[i].R);
Console.Write(" Enter Name : ");
obj[i].N = Convert.ToString(Console.ReadLine());
Console.Write(" Enter Father Name : ");
obj[i].F = Convert.ToString(Console.ReadLine());
Console.Write(" Enter Email : ");
obj[i].E = Convert.ToString(Console.ReadLine());
Console.Write(" Enter Date of Birth : ");
obj[i].D = Convert.ToDateTime(Console.ReadLine());
Console.Write(" Enter Smester : ");
obj[i].Sm = Convert.ToInt32(Console.ReadLine());
obj[i].Set_GPA();
i++;
count++;
break;
case 2:
if (count != 0)
{
int loc = -1;
Console.Clear();
Console.Write(" Enter Roll No. of Student : ");
R = Convert.ToInt32(Console.ReadLine());
for (int k = 0; k < len; k++)
{
loc = obj[k].Check(obj, R);
if (loc != -1)
{
obj[loc].CGPA();
break;
}
}
if (loc == -1)
Console.WriteLine(" Invalid Roll No.");
count++;
}
break;
case 3:
if (count != 0)
{
Console.Clear();
obj[0].CR(obj);
count++;
}
break;
case 4:
if (count != 0)
{
Console.Clear();
Console.Write(" Enter the No. for Copy (i.e < 5/len) : ");
copy_r = Convert.ToInt32(Console.ReadLine());
Student copy = new Student(obj[copy_r-1]);
copy.Show();
count++;
}
break;
case 5:
if (count != 0)
{
Console.Clear();
Console.Write(" Enter 2 Object No. for Adding (i.e < 5/len) : ");
Console.Write(" Enter the Object No. for Adding : ");
R = Convert.ToInt32(Console.ReadLine());
Console.Write(" Enter the Object No. for Adding : ");
copy_r = Convert.ToInt32(Console.ReadLine());
obj[R] = obj[R-1] + obj[copy_r-1];
obj[R].Show();
count++;
}
break;
}
Console.Write(" If Run Again (Y/N) ? ");
choice = Convert.ToChar(Console.ReadLine());
if (choice != Y && choice != y)
{
Console.WriteLine(" See you Next Time");
Main_Fun();
break;
}
} while (true);
}


Read more

Kamis, 21 April 2016

Top 5 Ways To Find That Your Husband Is Cheating On You

,
Top 5 Ways To Find That Your Husband Is Cheating On You

Insecurity!!!!
Most familiar word for wives :P and in real life they experience it.........
Wife always worried or concerned about her husband is cheating on her or not. For this they dont have any idea how to make sure whether he is cheating or not?
You also have same issue?
So, now dont need to worried because our today’s article about Top 5 Ways To Find That Your Husband Is Cheating On You. Now just make sure these 5 ways so then you will Find That Your Husband Is Cheating On You or Not :P
Following is the list of 5 Ways To Find That Your Husband Is Cheating On You

1. Coming fresh to home
Top 5 Ways To Find That Your Husband Is Cheating On You

Ohhhh Today after very hectic day you looking fresh and happy Is everything alright???
Most common question when you looking your husband fresh. So, coming fresh to home is the first tip in our list of 5 Ways To Find That Your Husband Is Cheating On You to recognize your husband cheating on you or not. Wives be careful because when your husband comes home, does he smell a different brand perfume then you must need to ask where he was? Whether he is fresh or not specially when he always seems tied in his usual days but suddenly one day or different days of week he walks back home like its just the starting of the day even after a full day work means he is seeing someone else and you have checked and balanced on him.

2. Affection
Top 5 Ways To Find That Your Husband Is Cheating On You

Affection is 2nd way to find That Your Husband Is Cheating On You?
Affection in every relation is very important and when this element going disappear then its mean there going something wrong. Normally in every relation fights but affection toward each other make strong bounding which make you together once again but after fight, or he has misunderstanding he become less affectionate towards you then you must think whats the real matter. In this way your communication becomes poor and all of a sudden your spouse is keen to keep a distance form you without a reason and this all because of less affection.

3. Day’s are becoming short
Top 5 Ways To Find That Your Husband Is Cheating On You

Another most important tip for wives in our list of Top 5 Ways To Find That Your Husband Is Cheating On You is Day’s are becoming short. Wife all day wait for husband and make things which gives him happiness and she want to know her husband tell her what he did all his day?
But whats the ans??? 
He usually does he keeps quite?? 
Doesn’t retell what has happened?? 
Your communication is becoming shorter?? 
Despite your persists to explain things he is just trying to avoid??? 
All above questions means he is up to something.So, take strict notice and safe your relation.

4. Extra secretive
Top 5 Ways To Find That Your Husband Is Cheating On You

Husbands Smartphone/mobile become one of the big headache for his wife when he curious about his phone. So, if suddenly he has become extra possessive about his cell phones and he started to maintain secrecy about his whereabouts then its simply means he is up to something. 
And now you need to be more careful towards everything.

5. More prone to fights
Top 5 Ways To Find That Your Husband Is Cheating On You

Last but not the least our tip 5 is most important factor if you find whether your husband is cheating or not. When he is fights with you without any reason, and very small mistakes are becoming the cause of big arguments then its not good for your future relation. If he start yelling it means he is seeing someone else, and simply just wants to keep his distance from you.
So, must think about it........
Read more

Jumat, 11 Maret 2016

How Can I Find Proofreading Jobs Here are 9 Places to Get You Started!

,

Im going to freak you out here.

If my kids were in school and I didnt care how my house looked or what anyone ate, I could easily make $5,000 per month proofreading (dont forget to take taxes out of that at the end of the year and its not as much as it seems like but still a lovely income from home).

I have had INSANE months where I was able to make close to $2,000 proofreading in a month but I wanted to die at the end, only because I have other things going on for income and managing everything gets difficult. I like to have other income streams because proofreading can be feast or famine, usually feast once you get going and get some good reviews and recs. Heres my income report for September, for example.

Heres what I have come up with so far so maybe you can do what Im doing! The first two I am not familiar with because I just havent had the time to dive into them. They are reputable sites that ask for a proofreading test or sample, but I hear competition can be fierce, and Im not about underbidding my services!

1. Elance

2. Upwork (formerly Odesk)

3. Scripted is a great way to find proofreading work but you have to BE ON TOP OF YOUR GAME, as in full-on GRAMMAR NAZI MODE. I did some writing for them and also some proofreading. I was shocked at the great money I was making and had the down payment on my yacht (just kidding!) when they canned me. They seriously culled their proofing pool and I did not make the cut. I was entirely bummed. If you are a better proofer than I am, GO FOR IT!

4. Hunt down people when you see things written wrong! Is your doctors website WHACK (not in a good way)??? Offer to proofread it for cheap. Did you get a piece of direct mail that had errors? Figure out who to contact and offer your services.

5. Tenrr is a place I gave a shot and got some work but it trickled in. I havent promoted my proofing there or anything. Knockoff of Fiverr, which I talk about later.

6. Gigbucks is akin to Tenrr. I am only signed up at all of these places because I like putting my chocolate proofreading eggs in lots of different baskets.

7. PeoplePerHour is another place I signed up at for free but nothing came of it. Some of these sites are flooded so you just have to sign up all over the place and wait and promote your services.

8. Outsource.com is a place I tried for a hot second but didnt have the patience to keep at it. I had to pay for credits so I could bid jobs. I did have plenty of credits in the end and the jobs to bid on were picking up, but the competition was fierce. I did get chosen for one job and it went well and I made back what I spent in credits. I was up for another job but they had a zillion and one requirements instead of just the simple proofing and editing I do and I cant focus on jumping through hoops. I like to fix documents and get out. I dont want to get wrangled into trying to write copy or critique what theyve done because those things get touchy and subjective. You might have a better experience. I broke my own rule of paying to get jobs so I could basically get the experience to share here!

9. Fiverr is my go-to place since I signed up in April 2013 and the jobs started flooding in. I have a separate post for it because I have so much to say on the topic!

As far as signing up and getting jobs right away, I dont know if I just got lucky or what but people gave a newbie a try and soon I had good reviews coming in and more jobs. I was so busy at one point in 2013 that I was outsourcing, which was a total shit show (Im going with two words for shit show instead of making it one ... haha!).

I shut down my outsourcing situation and tried to keep up with the work on my own but soon had no life and my kids were eating too much fast food all summer. I got a bad review because I was hurrying through my work and it all went to hell for a while. It picked back up and then I overused Vacation Mode. Just in the last few months have I gotten back on and made a decent income again.

Ive done many different gigs on Fiverr besides proofreading so poke around to see what else you can offer. I put my delivery on at least 3 days so that keeps my orders low enough to manage. The main guy who does 24-hour delivery basically works full-time all day long doing small jobs. The client is charged $5 and you receive $4. At first I thought that was robbery but now I realize THEY are finding the clients for me pretty much so I will happily take my $4 for proofreading 1,500 words. I got more orders when my gig was for 2,000 words but it was taking too long to proofread that for $4 with so many non-native English speakers sending projects my way. Those projects just take longer because they require more time and reworking.


Read more
 

Make Money Online Now Free Copyright © 2016 -- Powered by Blogger