Computer Science, asked by jkpavithramalyaa, 1 year ago

a charity animal hospital has received 1193 packets.write a java program that displays
how many dozens of packets and how many extra packets has the hospital received . (a dozen = 12 units).


BrainlyTech: sorry i have to edit my answer so much i found some mistakes

Answers

Answered by BrainlyTech
10

\textbf{ \large{ Hello Friend! }}

\textbf{ How are you doing today? }

\textbf{ I'm here to help you with your answer. }

\textbf{ Lets get started!! }

\textbf{ class Packets }

{

\textbf{ public static void main (String args[]) }

{


\textbf{ int p=1193; }

\textbf{ int d=p/12; }

int e=p %12;

\textbf{ System.out.println("Dozen="+d); }

\textbf{ System.out.println("Extra="+e); }

}


}

\textbf{ \tiny{ Hope this helps you!! }}

\textbf{ \tiny{ Feel free to mark as brainliest! }}

\textbf{ \huge{ Be Brainly! }}


1234567821: ok friend
1234567821: what is your name
BrainlyTech: Tj
1234567821: Tj means
1234567821: friend please send answer
1234567821: friend give reply
1234567821: bye friend
1234567821: friend what is your name
1234567821: please friend send me answer for next question
1234567821: please give reply friend
Similar questions
Math, 7 months ago