Computer Science, asked by Sneha23533, 7 months ago

Anshul transport company parcels of its customers as per the following specifications given below:

class name:Atransport

Member variables:

String name: to store the name of the customer.

int w: to store the weight of the parcel in Kg.

int charge:to store the charge of the parcel.

Member functions:

void accept () - to accept the name of the customer and weight of the parcel from the user(using Scanner class)

void calculate() - to calculate the charge as per the information of the parcel as per the following criteria

Weight upto 10 Kg_ charge ₹25 per Kg

Weight upto next 20 Kgs_ charge ₹20 per Kg

Weight above 30 Kgs_ charge ₹10 per Kg

Design a main method to call all the member methods.​

Answers

Answered by pinjaraarifisha
4

Answer:

 \huge \underline \bold \pink {♡IT'S Shefali ♡:-}

\huge{\mathbb{\red{Hello Mate!!}}}

\huge\boxed{\fcolorbox{red}{yellow}{answer}}

\huge\boxed{\fcolorbox{white}{pink}{thanks:-))}}

<marquee> please mark it as brainliest answer ✌️✌️</marquee>

<p style="color:cyan;font-family:cursive;background:black;font size:25px;"> In classical mechanics, areal velocity (also called sector velocity or sectorial velocity) is the rate at which area is swept out by a particle as it moves along a curve. In the adjoining figure, suppose that a particle moves along the blue curve. At a certain time t, the particle is located at point B, and a short while later, at time t + Δt, the particle has moved to point C. The area swept out by the particle is the green area in the figure, bounded by the line segments AB and AC and the curve along which the particle moves. The areal velocity equals this area divided by the time interval Δt in the limit that Δt becomes vanishingly small. It is an example of a pseudovector (also called axial vector), pointing normal to the plane containing the position and velocity vectors of the particle.

sorry I didn't understand the question?

<marquee>Shefali here</marquee>

<marquee>(◍•ᴗ•◍)❤(◍•ᴗ•◍)❤(◍•ᴗ•◍)❤</marquee>

<marquee>♥╣[-_-]╠♥♥╣[-_-]╠♥♥╣[-_-]╠♥</marquee>

<marquee>^_________^^_________^^_________^(◠‿◕)</marquee>

Step-by-step explanation:

</p><p>&lt;html&gt;</p><p></p><p>&lt;head&gt;</p><p></p><p>&lt;style&gt;</p><p></p><p>h1{</p><p></p><p>text-transform:uppercase;</p><p></p><p>margin-top:90px;</p><p></p><p>text-align:center;</p><p></p><p>font-family:Courier new,monospace;</p><p></p><p>border:3px solid rgb(60,45,8);</p><p></p><p>border-top:none;</p><p></p><p>width:67%;</p><p></p><p>letter-spacing:-6px;</p><p></p><p>box-sizing:border-box;</p><p></p><p>padding-right:5px;</p><p></p><p>border-radius:6px;</p><p></p><p>font-size:35px;</p><p></p><p>font-weight:bold;</p><p></p><p>}</p><p></p><p>h1 span{</p><p></p><p>position:relative;</p><p></p><p>display:inline-block;</p><p></p><p>margin-right:3px;</p><p></p><p>}</p><p></p><p>@keyframes shahir{</p><p></p><p>0%</p><p></p><p>{</p><p></p><p>transform: translateY(0px) rotate(0deg);</p><p></p><p>}</p><p></p><p>40%</p><p></p><p>{</p><p></p><p>transform: translateY(0px) rotate(0deg);</p><p></p><p>}</p><p></p><p>50%</p><p></p><p>{</p><p></p><p>transform: translateY(-50px)rotate(180deg);;</p><p></p><p>}</p><p></p><p>60%</p><p></p><p>{</p><p></p><p>transform: translateY(0px)rotate(360deg);;</p><p></p><p>}</p><p></p><p>100%</p><p></p><p>{</p><p></p><p>transform: translate(0px)rotate(360deg);;</p><p></p><p>}}</p><p></p><p>h1 span</p><p></p><p>{</p><p></p><p>animation: shahir 3s alternate infinite linear;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(1)</p><p></p><p>{color:pink;</p><p></p><p>animation-delay: 0s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(2)</p><p></p><p>{color:lightmaroon;</p><p></p><p>animation-delay: 0.2s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(3)</p><p></p><p>{color:red;</p><p></p><p>animation-delay:0s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(4)</p><p></p><p>{color:lightgreen;</p><p></p><p>animation-delay: 0.4s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(5)</p><p></p><p>{color:blue;</p><p></p><p>animation-delay: 0.5s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(6)</p><p></p><p>{color:purple;</p><p></p><p>animation-delay: 0.3s;</p><p></p><p>}</p><p></p><p>&lt;/style&gt;</p><p></p><p>&lt;meta name="viewport" content="width=device-width" &gt;</p><p></p><p>&lt;/head&gt;</p><p></p><p>&lt;body&gt;</p><p></p><p>&lt;center&gt;</p><p></p><p>&lt;div&gt;</p><p></p><p>&lt;h1&gt;</p><p></p><p>&lt;span&gt;A&lt;/span&gt;</p><p></p><p>&lt;span&gt;r&lt;/span&gt;</p><p></p><p>&lt;span&gt;i&lt;/span&gt;</p><p></p><p>&lt;span&gt;f&lt;/span&gt;</p><p></p><p>&lt;/h1&gt;</p><p></p><p>&lt;/div&gt;</p><p></p><p>&lt;/center&gt;</p><p></p><p>&lt;/body&gt;</p><p></p><p>&lt;/html&gt;</p><p></p><p>

</p><p></p><p>&lt;svg class= "heart" viewBox= "-2 -2 98.6 90.81"&gt;</p><p></p><p>&lt;title&gt;Corazon&lt;/title&gt;</p><p></p><p>&lt;path stroke= "firebrick" stroke-width= "3" d= "M86.81,8.15a27.79,27.79,0,0,1,0,39.33L47.48,86.81,8.15,47.48A27.81,27.81,0,0,1,47.48,8.15,27.79,27.79,0,0,1,86.81,8.15Z"/&gt;</p><p></p><p>&lt;/svg&gt;</p><p></p><p>&lt;style&gt;</p><p></p><p>body {</p><p></p><p>display: grid;</p><p></p><p>min-height: 100vh;</p><p></p><p>justify-content: center;</p><p></p><p>align-content: center;</p><p></p><p>background: repeating-linear-gradient(circle, white, yellow, red);</p><p></p><p>background: repeating-radial-gradient(circle, white, yellow, red);</p><p></p><p>}</p><p></p><p>@keyframes heart-path {</p><p></p><p>99% {</p><p></p><p>stroke-dashoffset: 0;</p><p></p><p>fill: none;</p><p></p><p>}</p><p></p><p>100% {</p><p></p><p>fill: firebrick;</p><p></p><p>}</p><p></p><p>}</p><p></p><p>&lt;/style&gt;

Similar questions