Skip to main content

A Guide to Avoiding Plagiarism

This guide intends to teach you how to use AI for learning and avoid plagiarism. 

You can view the document HERE or see a breakdown of the guide below.

As you all know, artificial intelligence has become an integral part of our lives nowadays, and we can use these AI tools to simplify our lives. One of these AI tools, but definitely not the only one, is ChatGPT. It’s a very powerful tool capable of generating many things, including code.

For instance, I have the following coding assignment to complete:

Assignment # 01

Body Mass Index (BMI) Calculator

Write a Java program that calculates the Body Mass Index (BMI) of a person based on their height and weight. 

The program takes the height and weight of a person as input, calculates their BMI using the formula BMI = weight (kg) / (height (m) * height (m)), and then provides an interpretation of the BMI value according to commonly used categories as follows:

if the bmi is less than 18.5 print in the console “You are underweight." If it’s equal or greater than 18.5 and less than 25 print in the console "You have a normal weight." If it’s equal or greater than  25 and less than 30 print in the console "You are overweight.") Else, print "You are obese."